Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002557/0.002557, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 71.89 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3332, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003386/0.3366, allocations: 1.639 MB / 0.5593 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3378, allocations: 0.5309 MB / 0.5599 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3379, allocations: 3.938 kB / 0.5599 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.3383, allocations: 91.69 kB / 0.56 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.3386, allocations: 111.6 kB / 0.5601 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.339, allocations: 107.5 kB / 0.5602 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3392, allocations: 95.81 kB / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3394, allocations: 23.97 kB / 0.5603 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.3395, allocations: 39.84 kB / 0.5603 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3396, allocations: 75.67 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3397, allocations: 4 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3398, allocations: 47.98 kB / 0.5604 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.3399, allocations: 27.91 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.3399, allocations: 27.75 kB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3402, allocations: 127.4 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3402, allocations: 0 / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3402, allocations: 4 kB / 0.5606 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3402, allocations: 4 kB / 0.5606 GB, free: 4.582 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006805/0.3409, allocations: 357.4 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3409, allocations: 12.03 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.836e-05/0.3409, allocations: 4.188 kB / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.341, allocations: 42.73 kB / 0.561 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.341, allocations: 12.84 kB / 0.561 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.3413, allocations: 154.8 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3413, allocations: 4.375 kB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.3414, allocations: 16.11 kB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3415, allocations: 73.55 kB / 0.5613 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3416, allocations: 3.953 kB / 0.5613 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3416, allocations: 4 kB / 0.5613 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3416, allocations: 0 / 0.5613 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3417, allocations: 35.97 kB / 0.5613 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.3423, allocations: 299.8 kB / 0.5616 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.3424, allocations: 62.5 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.3425, allocations: 24.84 kB / 0.5617 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3425, allocations: 0 / 0.5617 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3425, allocations: 38.55 kB / 0.5617 GB, free: 3.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3425, allocations: 0 / 0.5617 GB, free: 3.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001104/0.3437, allocations: 309.7 kB / 0.562 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3437, allocations: 59.34 kB / 0.5621 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3439, allocations: 239.5 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.344, allocations: 33.7 kB / 0.5623 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.344, allocations: 116 kB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3441, allocations: 43.66 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3441, allocations: 25.7 kB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3443, allocations: 326.8 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3444, allocations: 35.97 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/0.3445, allocations: 35.98 kB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3447, allocations: 92.83 kB / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3447, allocations: 0 / 0.563 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000262/0.3449, allocations: 137.5 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.345, allocations: 10.64 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.345, allocations: 11.92 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.345, allocations: 0 / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3451, allocations: 23.98 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3451, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.3452, allocations: 12.11 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3452, allocations: 11.94 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3453, allocations: 133.8 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3454, allocations: 15.91 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.3457, allocations: 166.6 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3457, allocations: 7.984 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3457, allocations: 0 / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3457, allocations: 0 / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/0.3466, allocations: 438.2 kB / 0.5639 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.3466, allocations: 4 kB / 0.5639 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.3467, allocations: 31.92 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3467, allocations: 0 / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3467, allocations: 4 kB / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3467, allocations: 0 / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3467, allocations: 0 / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.347, allocations: 244.2 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.347, allocations: 15.94 kB / 0.5642 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3471, allocations: 8 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3471, allocations: 3.938 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3472, allocations: 15.92 kB / 0.5642 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3472, allocations: 3.984 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3474, allocations: 185.1 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3474, allocations: 0 / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3476, allocations: 27.98 kB / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/0.3501, allocations: 1.154 MB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3504, allocations: 99.81 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3504, allocations: 4 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3505, allocations: 43.92 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3508, allocations: 25.36 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3533, allocations: 1.842 MB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3535, allocations: 116.9 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.3536, allocations: 20.48 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.3537, allocations: 47.41 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3537, allocations: 0 / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.3771, allocations: 3.781 MB / 0.5714 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 10.94 kB / 0.5714 GB, free: 9.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.27550153597258]