Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001007/0.001007, 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.0009567/0.0009567, 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.8762/0.8762, 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.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.2235/0.2235, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 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.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.35e-05, allocations: 4.109 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002368/0.002391, allocations: 1.72 MB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004116, allocations: 1.674 MB / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.004223, allocations: 0 / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.004512, allocations: 39.7 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.004889, allocations: 99.48 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.005096, allocations: 79.59 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.005259, allocations: 107.6 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.005352, allocations: 12 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.005439, allocations: 63.81 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.005533, allocations: 35.83 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.00555, allocations: 4 kB / 443.5 MB, free: 308 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.005707, allocations: 103.8 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.005761, allocations: 19.92 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.005797, allocations: 15.94 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1691/0.1749, allocations: 181.6 kB / 443.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1749, allocations: 0 / 443.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1749, allocations: 3.234 kB / 443.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1749, allocations: 0 / 443.8 MB, free: 43.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005114/0.1754, allocations: 351.8 kB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1754, allocations: 11.5 kB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.1755, allocations: 33.25 kB / 444.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1755, allocations: 15.81 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1757, allocations: 146.2 kB / 444.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1758, allocations: 2.938 kB / 444.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1758, allocations: 5.375 kB / 444.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1759, allocations: 105.8 kB / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1759, allocations: 0 / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.176, allocations: 0.625 kB / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.176, allocations: 3.188 kB / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.176, allocations: 20.84 kB / 444.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1763, allocations: 254.6 kB / 444.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1764, allocations: 58.62 kB / 444.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1765, allocations: 20.64 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1765, allocations: 0.75 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.1766, allocations: 72.17 kB / 444.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1766, allocations: 4.031 kB / 444.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.177, allocations: 182.7 kB / 445.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1771, allocations: 82.39 kB / 445.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1772, allocations: 170.5 kB / 445.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.1772, allocations: 31.28 kB / 445.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1772, allocations: 96.22 kB / 445.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1772, allocations: 26.39 kB / 445.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1772, allocations: 23.97 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.766e-05/0.1773, allocations: 324.6 kB / 445.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.1773, allocations: 24.61 kB / 445.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.1774, allocations: 72.45 kB / 445.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.1774, allocations: 61.02 kB / 446 MB, free: 41.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1774, allocations: 0 / 446 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001128/0.1775, allocations: 108.4 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1775, allocations: 5.688 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1775, allocations: 3.203 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1776, allocations: 0 / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.1776, allocations: 20.22 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1776, allocations: 1.438 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.1777, allocations: 2.625 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1777, allocations: 12.12 kB / 446.1 MB, free: 41.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.35e-05/0.1777, allocations: 122.8 kB / 446.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.1777, allocations: 8.047 kB / 446.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.1779, allocations: 122.5 kB / 446.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1779, allocations: 0 / 446.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1779, allocations: 2.969 kB / 446.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1779, allocations: 0 / 446.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1782, allocations: 375.4 kB / 446.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1782, allocations: 3.156 kB / 446.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.1782, allocations: 18.73 kB / 446.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1782, allocations: 0 / 446.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1782, allocations: 4 kB / 446.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1782, allocations: 3.938 kB / 446.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1782, allocations: 0 / 446.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1783, allocations: 216.3 kB / 447 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.1783, allocations: 23.34 kB / 447 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1783, allocations: 0 / 447 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.1784, allocations: 6.656 kB / 447 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.1784, allocations: 9.141 kB / 447 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1784, allocations: 2.906 kB / 447 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.1785, allocations: 131.4 kB / 447.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1785, allocations: 0 / 447.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.1787, allocations: 50.56 kB / 447.2 MB, free: 41.21 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001068/0.1798, allocations: 1.243 MB / 448.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1799, allocations: 61.94 kB / 448.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1799, allocations: 0 / 448.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.1799, allocations: 36.56 kB / 448.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1802, allocations: 37.97 kB / 448.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.1811, allocations: 1.612 MB / 450.2 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.786e-05/0.1812, allocations: 82.97 kB / 450.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.1812, allocations: 28.12 kB / 450.3 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.1813, allocations: 32.84 kB / 450.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1813, allocations: 4 kB / 450.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.1974, allocations: 4.902 MB / 455.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.958, allocations: 5.875 kB / 455.2 MB, free: 37.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.890533402562141]