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.001568/0.001568, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001389/0.001389, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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.123/1.123, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2513/0.2513, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.[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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.345e-05, allocations: 5.297 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002457/0.002471, allocations: 2.274 MB / 325.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004007, allocations: 1.318 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.004121, allocations: 7.938 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.004435, allocations: 115.3 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.004787, allocations: 258.7 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.005031, allocations: 195.4 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.00538, allocations: 466.5 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.005481, allocations: 53.22 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.005767, allocations: 335.2 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005903, allocations: 131.5 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.005932, allocations: 20 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.006037, allocations: 67.92 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.006149, allocations: 147.4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.006224, allocations: 95.59 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.006522, allocations: 350.4 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006523, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006524, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006529, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.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.0006378/0.007166, allocations: 0.7251 MB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.007197, allocations: 12.03 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.007252, allocations: 52.83 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.007526, allocations: 330.5 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.007544, allocations: 8.375 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.007571, allocations: 20.36 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.007755, allocations: 177 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.007768, allocations: 7.891 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.00778, allocations: 4 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007785, allocations: 4 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.007855, allocations: 67.19 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.008273, allocations: 0.5378 MB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.008559, allocations: 369.4 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.008613, allocations: 59.61 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.008627, allocations: 8 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.008789, allocations: 172.2 kB / 331.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.00879, allocations: 0 / 331.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008833/0.009673, allocations: 0.6024 MB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.009735, allocations: 140.5 kB / 332.4 MB, free: 244 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.01012, allocations: 0.5642 MB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01015, allocations: 37.7 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.01022, allocations: 158.2 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.0103, allocations: 142.8 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.01037, allocations: 78.11 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.01047, allocations: 378.6 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.01053, allocations: 47.8 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.01061, allocations: 123.7 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.01078, allocations: 208.1 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01078, allocations: 0 / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002264/0.01101, allocations: 245.5 kB / 334.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01102, allocations: 4 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01103, allocations: 4 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01104, allocations: 4 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01119, allocations: 96 kB / 334.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.0112, allocations: 4.234 kB / 334.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.01127, allocations: 19.98 kB / 334.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01129, allocations: 12 kB / 334.5 MB, free: 14.05 MB / 314.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.0001036/0.01139, allocations: 143 kB / 334.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.01144, allocations: 55.89 kB / 334.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.01172, allocations: 301.2 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.01173, allocations: 8 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.01173, allocations: 0 / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01174, allocations: 7.984 kB / 335 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.0124, allocations: 1.034 MB / 336.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.0124, allocations: 4 kB / 336.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.0125, allocations: 71.84 kB / 336.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01251, allocations: 7.938 kB / 336.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01253, allocations: 16.23 kB / 336.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.01253, allocations: 8 kB / 336.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01253, allocations: 4 kB / 336.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.01286, allocations: 0.7632 MB / 336.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.01295, allocations: 79.53 kB / 337 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.01299, allocations: 19.94 kB / 337 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.01313, allocations: 15.98 kB / 337 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.01319, allocations: 43.88 kB / 337.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.01322, allocations: 23.98 kB / 337.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.0134, allocations: 287.4 kB / 337.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 0 / 337.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000301/0.0137, allocations: 99.86 kB / 337.5 MB, free: 10.96 MB / 314.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.001519/0.01522, allocations: 0.6702 MB / 338.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01546, allocations: 205.3 kB / 338.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.01547, allocations: 8.25 kB / 338.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01558, allocations: 121.5 kB / 338.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.0161, allocations: 133.5 kB / 338.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.01701, allocations: 0.8912 MB / 339.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01711, allocations: 146.7 kB / 339.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.01724, allocations: 79.25 kB / 339.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.01741, allocations: 143.3 kB / 339.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01741, allocations: 0 / 339.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of Templates: time 0.007693/0.0251, allocations: 6.286 MB / 346.2 MB, free: 2.664 MB / 314.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 -s gbode -gbm=radauIIA3 -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","",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.227854427881539]