Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001921/0.001921, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002421/0.002421, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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 1.516/1.516, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3576/0.3576, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.618e-05, allocations: 2.312 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004235/0.004261, allocations: 2.183 MB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.006959, allocations: 1.27 MB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.007174, allocations: 7.938 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.007675, allocations: 139.2 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008134/0.008488, allocations: 258.7 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.00906, allocations: 195.4 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.009802, allocations: 482.4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.009969, allocations: 45.27 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.01059, allocations: 387.1 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.01084, allocations: 139.5 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.01089, allocations: 16 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.01107, allocations: 67.92 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.01128, allocations: 167.3 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.01143, allocations: 99.52 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.01209, allocations: 474.1 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01209, allocations: 0 / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01209, allocations: 0 / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.0121, allocations: 4 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001341/0.01345, allocations: 0.8224 MB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01348, allocations: 8.031 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.01366, allocations: 88.45 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.01431, allocations: 382.2 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.01433, allocations: 12.38 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.01438, allocations: 20.36 kB / 384.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.01481, allocations: 198.1 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.01484, allocations: 11.89 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.01486, allocations: 4 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.01487, allocations: 4 kB / 384.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.01514, allocations: 103.8 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.01622, allocations: 0.7388 MB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.01697, allocations: 246.4 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.01719, allocations: 87.52 kB / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01722, allocations: 4 kB / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.01763, allocations: 216.5 kB / 386.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.01763, allocations: 3.938 kB / 386.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003051/0.02068, allocations: 1.241 MB / 387.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.02079, allocations: 136.5 kB / 387.6 MB, free: 8.418 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.02207, allocations: 0.9693 MB / 388.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.02213, allocations: 37.7 kB / 388.6 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.02241, allocations: 289 kB / 388.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.02259, allocations: 146.8 kB / 389 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.02274, allocations: 78.16 kB / 389.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.02294, allocations: 333.9 kB / 389.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.02322, allocations: 113 kB / 389.5 MB, free: 6.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.02355, allocations: 191.8 kB / 389.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/0.02417, allocations: 323 kB / 390 MB, free: 5.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.02417, allocations: 8 kB / 390 MB, free: 5.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009612/0.02514, allocations: 476.7 kB / 390.5 MB, free: 5.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.02516, allocations: 8 kB / 390.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.02517, allocations: 0 / 390.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.02519, allocations: 4 kB / 390.5 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.0255, allocations: 95.83 kB / 390.6 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.02552, allocations: 4 kB / 390.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.0257, allocations: 24.12 kB / 390.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.02574, allocations: 19.98 kB / 390.6 MB, free: 5.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003512/0.02609, allocations: 260 kB / 390.9 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.02625, allocations: 91.48 kB / 391 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.02741, allocations: 0.5357 MB / 391.5 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.02742, allocations: 4 kB / 391.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.02743, allocations: 4 kB / 391.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.02744, allocations: 3.984 kB / 391.5 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.02949, allocations: 1.279 MB / 392.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.0295, allocations: 3.984 kB / 392.8 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.02969, allocations: 59.92 kB / 392.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.02969, allocations: 4 kB / 392.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.02973, allocations: 24.23 kB / 392.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.02974, allocations: 8 kB / 392.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.02974, allocations: 4 kB / 392.9 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.03104, allocations: 0.8456 MB / 393.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.03126, allocations: 111.4 kB / 393.9 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.03133, allocations: 15.98 kB / 393.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.03164, allocations: 19.98 kB / 393.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.03174, allocations: 39.88 kB / 393.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.03179, allocations: 28 kB / 394 MB, free: 1.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009277/0.03272, allocations: 0.7138 MB / 394.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03272, allocations: 0 / 394.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006349/0.03335, allocations: 91.92 kB / 394.8 MB, free: 0.9961 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002742/0.03609, allocations: 0.5766 MB / 395.3 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.0369, allocations: 315.2 kB / 395.6 MB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.0369, allocations: 0 / 395.6 MB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.03728, allocations: 159.7 kB / 395.8 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.03833, allocations: 144.4 kB / 395.9 MB, free: 68 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.04085, allocations: 1.256 MB / 397.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.04135, allocations: 325.9 kB / 397.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.04162, allocations: 83.23 kB / 397.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.04178, allocations: 60.48 kB / 397.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04178, allocations: 0 / 397.7 MB, free: 14.26 MB / 378.7 MB Notification: Performance of Templates: time 0.01391/0.05569, allocations: 5.775 MB / 403.4 MB, free: 8.57 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 5.132323568919674]