Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001939/0.001939, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002762/0.002762, allocations: 161.3 kB / 24.27 MB, free: 148 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.551 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.3508/0.3508, allocations: 32.79 MB / 293.9 MB, free: 1.207 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.Test88,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 375.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.598e-05, allocations: 5.828 kB / 375.4 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004421/0.004457, allocations: 2.218 MB / 377.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.007404, allocations: 1.29 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.007638, allocations: 4 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.008177, allocations: 131.1 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.008929, allocations: 254.8 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.009478, allocations: 187.5 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.01028, allocations: 482.4 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.01045, allocations: 41.27 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007208/0.01117, allocations: 347.2 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.01146, allocations: 135.5 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.01153, allocations: 16 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.01174, allocations: 67.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.01196, allocations: 147.5 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01212, allocations: 99.52 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.01281, allocations: 430.3 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01281, allocations: 4 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01281, allocations: 0 / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.01282, allocations: 0 / 381.2 MB, free: 15.02 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.001454/0.01428, allocations: 0.8951 MB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.01432, allocations: 11.98 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.01449, allocations: 80.5 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.0151, allocations: 369.2 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.01513, allocations: 12.38 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.01518, allocations: 16.38 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.01559, allocations: 196.9 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.01561, allocations: 11.83 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.01563, allocations: 4 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01564, allocations: 4 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.01589, allocations: 83.88 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01723, allocations: 0.9845 MB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.01797, allocations: 268.5 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.01818, allocations: 90.84 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.0182, allocations: 15.92 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.01862, allocations: 221.2 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.01862, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00292/0.02154, allocations: 1.172 MB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.02165, allocations: 132.5 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.02267, allocations: 0.734 MB / 386.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.02272, allocations: 37.7 kB / 386.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.02305, allocations: 331.7 kB / 386.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.02322, allocations: 154.8 kB / 387 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.02338, allocations: 91.84 kB / 387 MB, free: 8.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004189/0.02379, allocations: 0.5898 MB / 387.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.02404, allocations: 109 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.0244, allocations: 210.4 kB / 387.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.02504, allocations: 349.6 kB / 388.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02504, allocations: 0 / 388.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009279/0.02597, allocations: 448.8 kB / 388.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.02599, allocations: 8 kB / 388.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.026, allocations: 7.922 kB / 388.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.02603, allocations: 8.125 kB / 388.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.02633, allocations: 83.91 kB / 388.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.02634, allocations: 4 kB / 388.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.02651, allocations: 19.98 kB / 388.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.02654, allocations: 20 kB / 388.9 MB, free: 6.922 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.0002541/0.02679, allocations: 206.8 kB / 389.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.02693, allocations: 83.58 kB / 389.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.028, allocations: 0.503 MB / 389.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.028, allocations: 4 kB / 389.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.02801, allocations: 4 kB / 389.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.02802, allocations: 11.92 kB / 389.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.03129, allocations: 1.519 MB / 391.2 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.03129, allocations: 0 / 391.2 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.03163, allocations: 67.91 kB / 391.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.03164, allocations: 8 kB / 391.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.03169, allocations: 12.25 kB / 391.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/0.03171, allocations: 11.98 kB / 391.3 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.03172, allocations: 11.94 kB / 391.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.03361, allocations: 1.032 MB / 392.3 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.03384, allocations: 99.45 kB / 392.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.03392, allocations: 16 kB / 392.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.03419, allocations: 19.98 kB / 392.5 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.03431, allocations: 39.88 kB / 392.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.03436, allocations: 27.98 kB / 392.5 MB, free: 3.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000625/0.03499, allocations: 479 kB / 393 MB, free: 2.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03499, allocations: 7.938 kB / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.03555, allocations: 91.94 kB / 393.1 MB, free: 2.535 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.003801/0.03935, allocations: 0.5551 MB / 393.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.04014, allocations: 335.7 kB / 394 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.04014, allocations: 0 / 394 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.04051, allocations: 188.9 kB / 394.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.04157, allocations: 142.2 kB / 394.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.04343, allocations: 0.9913 MB / 395.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.04379, allocations: 281.2 kB / 395.6 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.04402, allocations: 79.23 kB / 395.7 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.04416, allocations: 64.47 kB / 395.7 MB, free: 56 kB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.04416, allocations: 0 / 395.7 MB, free: 56 kB / 362.7 MB Notification: Performance of Templates: time 0.01383/0.05799, allocations: 5.719 MB / 401.4 MB, free: 10.42 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.3746345969848335]