Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0008135/0.0008135, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008107/0.0008107, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8697/0.8697, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.147e-05, allocations: 3.266 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002156/0.002178, allocations: 1.617 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1712/0.1734, allocations: 0.5273 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1735, allocations: 2.906 kB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1737, allocations: 78.55 kB / 444.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1739, allocations: 107.4 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1741, allocations: 118.2 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1743, allocations: 91.77 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.1743, allocations: 6.469 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1744, allocations: 46.17 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.1745, allocations: 58.72 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1745, allocations: 6.25 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.1746, allocations: 44.17 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.1746, allocations: 23.38 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1746, allocations: 13.59 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1748, allocations: 101.1 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1748, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1748, allocations: 7.875 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1748, allocations: 4.094 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003182/0.1751, allocations: 336.2 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1751, allocations: 10.47 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.1752, allocations: 33.12 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1752, allocations: 14.12 kB / 445.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1753, allocations: 144.6 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1753, allocations: 384 / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1753, allocations: 3.531 kB / 445.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1754, allocations: 56.09 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1754, allocations: 6.484 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1754, allocations: 14.59 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1754, allocations: 0.625 kB / 445.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.1755, allocations: 31.16 kB / 445.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.1758, allocations: 269 kB / 445.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.1758, allocations: 46.97 kB / 446 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.1758, allocations: 15.95 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1759, allocations: 0 / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.1759, allocations: 40.84 kB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1759, allocations: 0 / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005476/0.1764, allocations: 240.9 kB / 446.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1764, allocations: 55.34 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1766, allocations: 215.8 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.1766, allocations: 25.7 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.1766, allocations: 116.2 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1766, allocations: 18.39 kB / 446.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.1766, allocations: 22.34 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.535e-05/0.1767, allocations: 331.3 kB / 447 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.1767, allocations: 29.22 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.1767, allocations: 28.14 kB / 447.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.215e-05/0.1768, allocations: 81.58 kB / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1768, allocations: 0 / 447.2 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001153/0.1769, allocations: 111 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.177, allocations: 5.531 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.177, allocations: 0 / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.177, allocations: 5.594 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.177, allocations: 22.25 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.177, allocations: 2.844 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.1771, allocations: 6.781 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1771, allocations: 6.234 kB / 447.3 MB, free: 41.52 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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 4.555e-05/0.1771, allocations: 132.8 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.1771, allocations: 14.11 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1773, allocations: 133.8 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1773, allocations: 2.938 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1773, allocations: 4 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1773, allocations: 3.188 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1776, allocations: 380.5 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1776, allocations: 0 / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1776, allocations: 17.7 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1776, allocations: 5 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1776, allocations: 2.938 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1776, allocations: 3.938 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1776, allocations: 4.031 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1777, allocations: 214.8 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.1777, allocations: 6.922 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1777, allocations: 3.094 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.1778, allocations: 18.09 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1778, allocations: 9.234 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1778, allocations: 3.031 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.23e-05/0.1779, allocations: 159.3 kB / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1779, allocations: 2.906 kB / 448.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.178, allocations: 28.45 kB / 448.5 MB, free: 40.83 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0008652/0.1789, allocations: 1.116 MB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.179, allocations: 79.81 kB / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.179, allocations: 0 / 449.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1791, allocations: 41.41 kB / 449.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1793, allocations: 22.08 kB / 449.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009456/0.1803, allocations: 1.73 MB / 451.4 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.1803, allocations: 98.69 kB / 451.5 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.1804, allocations: 18.89 kB / 451.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.1804, allocations: 37.55 kB / 451.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.1804, allocations: 4 kB / 451.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.1962, allocations: 3.864 MB / 455.5 MB, free: 37.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.805, allocations: 10.19 kB / 455.5 MB, free: 37.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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: 8.705604530870914]