Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 193.3 kB / 18.25 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2522/0.2522, allocations: 44.18 MB / 336.3 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.7 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004323/0.1532, allocations: 2.081 MB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1552, allocations: 1.049 MB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.1555, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.1558, allocations: 35.77 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.1564, allocations: 135.5 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1574, allocations: 398.3 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.1578, allocations: 295 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.158, allocations: 61 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1582, allocations: 127.5 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1585, allocations: 187.3 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1585, allocations: 16 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1586, allocations: 63.97 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1588, allocations: 135.6 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1589, allocations: 174.6 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1593, allocations: 394.4 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1594, allocations: 0 / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1594, allocations: 0 / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1594, allocations: 0 / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00106/0.1604, allocations: 0.7929 MB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1605, allocations: 12.03 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.1606, allocations: 42.73 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.1607, allocations: 60.28 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.1612, allocations: 451.8 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1612, allocations: 8.375 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1612, allocations: 23.81 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1616, allocations: 140.9 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1616, allocations: 4 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1616, allocations: 0 / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1616, allocations: 4 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.1619, allocations: 99.92 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.1629, allocations: 0.6917 MB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1631, allocations: 125.2 kB / 476.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1633, allocations: 57.81 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.1633, allocations: 8 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1634, allocations: 38.44 kB / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1634, allocations: 0 / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001942/0.1653, allocations: 0.6696 MB / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1654, allocations: 77.11 kB / 477.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.1663, allocations: 0.8781 MB / 478.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1663, allocations: 33.7 kB / 478.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1665, allocations: 260.3 kB / 478.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.1666, allocations: 67 kB / 478.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.1667, allocations: 37.7 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1668, allocations: 378.7 kB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1671, allocations: 83.94 kB / 478.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1674, allocations: 113.6 kB / 479 MB, free: 4.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1678, allocations: 205.7 kB / 479.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1679, allocations: 3.938 kB / 479.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006394/0.1685, allocations: 296.7 kB / 479.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1685, allocations: 8 kB / 479.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1685, allocations: 0 / 479.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1686, allocations: 4 kB / 479.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1688, allocations: 55.89 kB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1689, allocations: 0 / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1691, allocations: 23.97 kB / 479.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1691, allocations: 8 kB / 479.6 MB, free: 3.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002067/0.1693, allocations: 217.6 kB / 479.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.1694, allocations: 63.33 kB / 479.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.1701, allocations: 346.8 kB / 480.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1702, allocations: 4 kB / 480.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1702, allocations: 3.938 kB / 480.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1702, allocations: 4 kB / 480.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1714, allocations: 0.8921 MB / 481.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1714, allocations: 0 / 481.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.1717, allocations: 47.95 kB / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1717, allocations: 0 / 481.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1717, allocations: 15.92 kB / 481.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1717, allocations: 3.938 kB / 481.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1717, allocations: 4 kB / 481.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.1724, allocations: 476.5 kB / 481.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1726, allocations: 148.4 kB / 481.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.1726, allocations: 4 kB / 481.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1729, allocations: 31.84 kB / 481.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.173, allocations: 19.97 kB / 481.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.173, allocations: 11.94 kB / 481.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006403/0.1736, allocations: 0.6354 MB / 482.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1736, allocations: 0 / 482.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.174, allocations: 60 kB / 482.6 MB, free: 464 kB / 350.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 (20): * Single equations (assignments): 20 * 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.001771/0.1758, allocations: 1.311 MB / 483.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.1764, allocations: 235.7 kB / 484.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1764, allocations: 0 / 484.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1767, allocations: 123.9 kB / 484.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.1773, allocations: 74.61 kB / 484.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.1839, allocations: 5.445 MB / 489.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.1844, allocations: 0.8575 MB / 490.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.1846, allocations: 79.2 kB / 490.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.1849, allocations: 179.4 kB / 490.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1849, allocations: 0 / 490.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2124, allocations: 9.636 MB / 0.4888 GB, free: 14.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004009/0.2129, allocations: 241 kB / 0.489 GB, free: 14.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.211, allocations: 0 / 0.489 GB, free: 14.4 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches