Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001926/0.001926, allocations: 92.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.002248/0.002248, allocations: 161.7 kB / 24.27 MB, free: 176 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.601/1.601, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3612/0.3612, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.18e-05, allocations: 9.766 kB / 375.4 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003281/0.003313, allocations: 1.743 MB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005199, allocations: 0.9704 MB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.005269, allocations: 3.938 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.005642, allocations: 107.7 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.006009, allocations: 127.4 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.00623, allocations: 83.59 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.006464, allocations: 135.6 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.00656, allocations: 15.92 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.006694, allocations: 75.8 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.006824, allocations: 63.86 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.006844, allocations: 4 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.006971, allocations: 59.92 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.007038, allocations: 39.83 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.007094, allocations: 27.88 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.007366, allocations: 159.4 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007368, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007369, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007373, allocations: 0 / 379 MB, free: 1.246 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006148/0.007988, allocations: 377.3 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.008022, allocations: 12.02 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.008086, allocations: 20.84 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.008381, allocations: 170.4 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.008398, allocations: 4.375 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.008422, allocations: 384 / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.008606, allocations: 70.22 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.008621, allocations: 3.938 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.008632, allocations: 0 / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.008636, allocations: 4 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.008755, allocations: 43.91 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.009196, allocations: 260.5 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.009488, allocations: 74.58 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.009568, allocations: 28.78 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.009589, allocations: 8.141 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.009782, allocations: 83.44 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.009783, allocations: 0 / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009074/0.01069, allocations: 293.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.01074, allocations: 51.41 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.01105, allocations: 267.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.01108, allocations: 29.7 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01118, allocations: 116.1 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.01123, allocations: 39.69 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.01129, allocations: 25.72 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.01147, allocations: 342.7 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.01156, allocations: 31.98 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01167, allocations: 53.7 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01185, allocations: 89.7 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01185, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003049/0.01216, allocations: 161.3 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01217, allocations: 4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.01218, allocations: 4.234 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01219, allocations: 0 / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.01229, allocations: 23.98 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.0123, allocations: 3.984 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.01235, allocations: 7.938 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01236, allocations: 8.031 kB / 381.6 MB, free: 14.4 MB / 362.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 (14): * Single equations (assignments): 14 * 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.0001389/0.0125, allocations: 137.8 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.01254, allocations: 23.91 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.01315, allocations: 187 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01316, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01316, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01316, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.01382, allocations: 435.6 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01382, allocations: 4.062 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.01389, allocations: 19.98 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01389, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.0139, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01391, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.01391, allocations: 7.875 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.0143, allocations: 269.1 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.01432, allocations: 15.89 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.01435, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.01444, allocations: 4 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.01448, allocations: 19.92 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.01451, allocations: 7.984 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.01471, allocations: 201.5 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01471, allocations: 0 / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.01501, allocations: 35.92 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002478/0.01749, allocations: 0.5521 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01774, allocations: 91.89 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01774, allocations: 3.938 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01785, allocations: 51.98 kB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.01824, allocations: 35.95 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.01888, allocations: 330.7 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.01901, allocations: 114.8 kB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.01908, allocations: 21.27 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.01914, allocations: 24.48 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01914, allocations: 0 / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.005984/0.02512, allocations: 2.27 MB / 386.4 MB, free: 9.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.8701815290842205]