Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001315/0.001315, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001509/0.001509, allocations: 165 kB / 24.56 MB, free: 12 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 0.9705/0.9705, allocations: 177.1 MB / 205 MB, free: 5.641 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.267/0.267, allocations: 32.8 MB / 294.3 MB, free: 1.262 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/2.029e-05, allocations: 2.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002665/0.002685, allocations: 2.264 MB / 378.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.004344, allocations: 1.298 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.004474, allocations: 11.88 kB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.004857, allocations: 131.3 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.005318, allocations: 278.7 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.005654, allocations: 191.5 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.006099, allocations: 482.5 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.006238, allocations: 41.17 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.006589, allocations: 383.1 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006762, allocations: 143.5 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.006798, allocations: 20 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006929, allocations: 75.91 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.007059, allocations: 159.4 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.007154, allocations: 107.5 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.007516, allocations: 382.2 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007519, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00752, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007526, allocations: 0 / 382 MB, free: 14.63 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.0008684/0.008394, allocations: 0.9341 MB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.008432, allocations: 12.03 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.008533, allocations: 96.34 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.008876, allocations: 373.1 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.008905, allocations: 12.38 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.008941, allocations: 24.23 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.009224, allocations: 181.6 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.009243, allocations: 15.88 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.009259, allocations: 4 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.009271, allocations: 7.984 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.00937, allocations: 67.88 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.01016, allocations: 0.9609 MB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.01054, allocations: 232.4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.01062, allocations: 78.84 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01064, allocations: 4 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.01086, allocations: 201.4 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.293e-06/0.01086, allocations: 0 / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001446/0.01231, allocations: 1.109 MB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.01238, allocations: 136.5 kB / 386.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.01295, allocations: 0.7612 MB / 387.2 MB, free: 9.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.01298, allocations: 45.64 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.01317, allocations: 351.7 kB / 387.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.01326, allocations: 150.8 kB / 387.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.01334, allocations: 79.81 kB / 387.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01349, allocations: 0.5003 MB / 388.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/0.01359, allocations: 64.95 kB / 388.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01373, allocations: 162.4 kB / 388.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.01398, allocations: 245.7 kB / 388.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01398, allocations: 3.938 kB / 388.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000399/0.01438, allocations: 384.8 kB / 389.2 MB, free: 7.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.0144, allocations: 8 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.0144, allocations: 0 / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01442, allocations: 4 kB / 389.2 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.01459, allocations: 91.83 kB / 389.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.0146, allocations: 8.125 kB / 389.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.01469, allocations: 19.98 kB / 389.3 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.0147, allocations: 16 kB / 389.3 MB, free: 6.949 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.0001182/0.01482, allocations: 190.9 kB / 389.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.01489, allocations: 91.48 kB / 389.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.01537, allocations: 439.9 kB / 390 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.01538, allocations: 8 kB / 390 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01538, allocations: 0 / 390 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01539, allocations: 3.984 kB / 390 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.01639, allocations: 1.433 MB / 391.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.01639, allocations: 8 kB / 391.5 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01651, allocations: 71.84 kB / 391.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01652, allocations: 4 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01654, allocations: 12 kB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01654, allocations: 12.23 kB / 391.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01654, allocations: 4 kB / 391.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.01709, allocations: 0.9733 MB / 392.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.0172, allocations: 103.5 kB / 392.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.01725, allocations: 19.98 kB / 392.7 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.01739, allocations: 12 kB / 392.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.01746, allocations: 47.81 kB / 392.7 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.01749, allocations: 27.98 kB / 392.8 MB, free: 3.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.01784, allocations: 0.4912 MB / 393.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01784, allocations: 4 kB / 393.2 MB, free: 2.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.01818, allocations: 95.88 kB / 393.3 MB, free: 2.766 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.00104/0.01922, allocations: 0.5121 MB / 393.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.01955, allocations: 244.5 kB / 394.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01956, allocations: 4 kB / 394.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.01971, allocations: 136.4 kB / 394.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.02029, allocations: 148.7 kB / 394.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.02132, allocations: 1.046 MB / 395.4 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02145, allocations: 162.1 kB / 395.6 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.02158, allocations: 79.23 kB / 395.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.02166, allocations: 52.48 kB / 395.7 MB, free: 492 kB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02166, allocations: 3.938 kB / 395.7 MB, free: 488 kB / 362.7 MB Notification: Performance of Templates: time 0.008739/0.0304, allocations: 6.261 MB / 402 MB, free: 10.31 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.188504514284432]