Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001652/0.001652, allocations: 84.31 kB / 20.68 MB, free: 1.023 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.002106/0.002106, allocations: 164.1 kB / 23.96 MB, free: 4.145 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.434/1.434, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.2046/0.2046, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.784e-05, allocations: 6.281 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002879/0.002897, allocations: 1.878 MB / 442.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.004848, allocations: 1.068 MB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.004941, allocations: 4 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.005438, allocations: 255.2 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.005929, allocations: 239 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.006214, allocations: 115.6 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.006574, allocations: 279.2 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.00669, allocations: 29.89 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.006912, allocations: 159.5 kB / 444.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.007161, allocations: 187.6 kB / 444.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.007192, allocations: 12 kB / 444.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.007323, allocations: 63.92 kB / 444.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.007434, allocations: 71.69 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.007513, allocations: 47.78 kB / 444.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.007857, allocations: 259 kB / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00786, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007861, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007866, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007392/0.008605, allocations: 0.508 MB / 445.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.008638, allocations: 12.03 kB / 445.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.008701, allocations: 32.7 kB / 445.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.009023, allocations: 236 kB / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.009041, allocations: 4.375 kB / 445.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.009074, allocations: 12.36 kB / 445.6 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.009316, allocations: 111.9 kB / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.009332, allocations: 7.875 kB / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.009344, allocations: 4 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.009348, allocations: 0 / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.009491, allocations: 55.89 kB / 445.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.01003, allocations: 424.5 kB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.01042, allocations: 117.2 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01053, allocations: 49.81 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.01054, allocations: 4 kB / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.01077, allocations: 121 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.01077, allocations: 0 / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001367/0.01213, allocations: 0.5241 MB / 447 MB, free: 1.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.01219, allocations: 85.05 kB / 447.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.01272, allocations: 0.4977 MB / 447.6 MB, free: 456 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01275, allocations: 29.7 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01288, allocations: 180.5 kB / 447.8 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.01294, allocations: 67.39 kB / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.01302, allocations: 45.7 kB / 447.9 MB, free: 116 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1563/0.1693, allocations: 346.8 kB / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1695, allocations: 58.38 kB / 448.3 MB, free: 21.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1696, allocations: 91.44 kB / 448.4 MB, free: 21.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1699, allocations: 169.8 kB / 448.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1699, allocations: 1.828 kB / 448.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004431/0.1703, allocations: 240.2 kB / 448.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1704, allocations: 5.969 kB / 448.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1704, allocations: 5.219 kB / 448.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.1704, allocations: 1.156 kB / 448.8 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1706, allocations: 47.3 kB / 448.9 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1706, allocations: 8.906 kB / 448.9 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.1707, allocations: 11.05 kB / 448.9 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1707, allocations: 6.672 kB / 448.9 MB, free: 21.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001698/0.1708, allocations: 177.1 kB / 449.1 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.1709, allocations: 35.42 kB / 449.1 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.1714, allocations: 286.5 kB / 449.4 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1714, allocations: 3.219 kB / 449.4 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1714, allocations: 4.844 kB / 449.4 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1714, allocations: 1.312 kB / 449.4 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.1722, allocations: 0.6882 MB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1722, allocations: 1.219 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.1723, allocations: 31.52 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1723, allocations: 7.75 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1724, allocations: 9.562 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1724, allocations: 3.047 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1724, allocations: 6.156 kB / 450.1 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.1728, allocations: 444.7 kB / 450.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1728, allocations: 39.41 kB / 450.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.1729, allocations: 9.344 kB / 450.6 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.173, allocations: 10.09 kB / 450.6 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.1731, allocations: 29.69 kB / 450.7 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1731, allocations: 8.797 kB / 450.7 MB, free: 20.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.1734, allocations: 379.8 kB / 451 MB, free: 20.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1734, allocations: 0 / 451 MB, free: 20.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.1738, allocations: 53.95 kB / 451.1 MB, free: 20.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001973/0.1757, allocations: 0.554 MB / 451.6 MB, free: 19.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1761, allocations: 159.1 kB / 451.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1761, allocations: 0 / 451.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1762, allocations: 80.14 kB / 451.9 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.1768, allocations: 66.34 kB / 451.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.1776, allocations: 0.6177 MB / 452.6 MB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.1778, allocations: 181.5 kB / 452.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.408e-05/0.1779, allocations: 40.83 kB / 452.8 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.1779, allocations: 29.86 kB / 452.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1779, allocations: 0 / 452.8 MB, free: 19.34 MB / 366.1 MB Notification: Performance of Templates: time 0.007405/0.1853, allocations: 3.331 MB / 456.1 MB, free: 18.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.687095001339912]