Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0008667/0.0008667, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003637/0.003637, allocations: 161.2 kB / 24.7 MB, free: 9.426 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.8943/0.8943, allocations: 177.2 MB / 205 MB, free: 5.719 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.2335/0.2335, allocations: 32.79 MB / 294.2 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.414e-05, allocations: 2.281 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002383/0.002407, allocations: 1.702 MB / 442.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003534, allocations: 0.9781 MB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.003604, allocations: 3.938 kB / 443.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.003863, allocations: 35.77 kB / 443.7 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.004131, allocations: 95.48 kB / 443.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.004296, allocations: 79.61 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004442, allocations: 111.6 kB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.004527, allocations: 12 kB / 444 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.004597, allocations: 47.84 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.00466, allocations: 27.89 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.004673, allocations: 4 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.004751, allocations: 47.92 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.004801, allocations: 27.84 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.004831, allocations: 15.94 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004992, allocations: 115.6 kB / 444.2 MB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004993, allocations: 3.938 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004994, allocations: 0 / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004998, allocations: 0 / 444.2 MB, free: 344 kB / 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.174/0.179, allocations: 331.4 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1791, allocations: 8.656 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.1791, allocations: 14.75 kB / 444.6 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1794, allocations: 146.2 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1794, allocations: 384 / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1794, allocations: 4.594 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1795, allocations: 63.81 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1795, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1795, allocations: 1 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1795, allocations: 3.938 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.1796, allocations: 22.95 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1798, allocations: 233.5 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1799, allocations: 56.94 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.18, allocations: 21.11 kB / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.18, allocations: 0 / 445.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.952e-05/0.1801, allocations: 76.62 kB / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1801, allocations: 0 / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003824/0.1805, allocations: 185.1 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.1805, allocations: 54.31 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.1806, allocations: 174.5 kB / 445.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.1806, allocations: 28.23 kB / 445.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1806, allocations: 102 kB / 445.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.1806, allocations: 24.72 kB / 445.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.1807, allocations: 26.28 kB / 445.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.969e-05/0.1807, allocations: 324.6 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.1807, allocations: 22.5 kB / 446.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.1808, allocations: 39.42 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.932e-05/0.1808, allocations: 60.98 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1808, allocations: 0 / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.255e-05/0.1809, allocations: 114.4 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1809, allocations: 5.844 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1809, allocations: 1.75 kB / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1809, allocations: 0 / 446.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.181, allocations: 27.23 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.181, allocations: 0 / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.181, allocations: 2.812 kB / 446.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.181, allocations: 10.12 kB / 446.4 MB, free: 45.56 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 4.669e-05/0.1811, allocations: 121.7 kB / 446.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1811, allocations: 17.06 kB / 446.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1812, allocations: 116.8 kB / 446.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1812, allocations: 2.781 kB / 446.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1812, allocations: 3.469 kB / 446.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1812, allocations: 0 / 446.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1814, allocations: 346.6 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1814, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.1814, allocations: 11 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1815, allocations: 2.938 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1815, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1815, allocations: 2.562 kB / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1815, allocations: 0 / 447 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.1816, allocations: 215.8 kB / 447.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.1816, allocations: 9.078 kB / 447.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1816, allocations: 10.41 kB / 447.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.1816, allocations: 6.938 kB / 447.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1816, allocations: 9.422 kB / 447.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1817, allocations: 5.781 kB / 447.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.1817, allocations: 130.3 kB / 447.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1817, allocations: 3.938 kB / 447.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.1819, allocations: 28.98 kB / 447.4 MB, free: 44.84 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.0006919/0.1826, allocations: 0.4901 MB / 447.9 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1827, allocations: 59.28 kB / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1827, allocations: 0 / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.1827, allocations: 29.81 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1829, allocations: 31.56 kB / 448 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.1832, allocations: 245.6 kB / 448.2 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.1833, allocations: 92.41 kB / 448.3 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1833, allocations: 16.41 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of SimCode: time 5.62e-07/0.1833, allocations: 0 / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002166/0.1855, allocations: 1.958 MB / 450.3 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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: 4.830934419296682]