Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001109/0.001109, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001213/0.001213, allocations: 168.8 kB / 24.91 MB, free: 8.77 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.263/0.263, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.236e-05, allocations: 2.312 kB / 323.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002436/0.002459, allocations: 1.82 MB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003655, allocations: 1.013 MB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.003727, allocations: 0 / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.004, allocations: 87.62 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.004246, allocations: 119.4 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.004385, allocations: 87.59 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.004533, allocations: 131.5 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.004608, allocations: 7.984 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.004704, allocations: 75.8 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.004799, allocations: 59.86 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.004813, allocations: 4 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.004897, allocations: 55.92 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.004942, allocations: 27.92 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.004974, allocations: 23.86 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005142, allocations: 123.5 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005144, allocations: 0 / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005145, allocations: 0 / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005149, allocations: 0 / 327 MB, free: 5.906 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003216/0.00547, allocations: 341.2 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.005498, allocations: 8.031 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.005526, allocations: 16.94 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.005658, allocations: 158.3 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.00567, allocations: 384 / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005687, allocations: 12.36 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.005776, allocations: 69.75 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005784, allocations: 3.938 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.00579, allocations: 0 / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.005794, allocations: 0 / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.005817, allocations: 11.98 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.006001, allocations: 185.8 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.00612, allocations: 89.3 kB / 327.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.006138, allocations: 12.84 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.006145, allocations: 4 kB / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/0.006221, allocations: 70.34 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006222, allocations: 0 / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000336/0.006558, allocations: 169.3 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.006583, allocations: 55.41 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.006694, allocations: 201.6 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.006707, allocations: 29.7 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.006743, allocations: 96.11 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.006771, allocations: 39.67 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.006802, allocations: 25.7 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.006873, allocations: 326.8 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.006891, allocations: 10.83 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.006918, allocations: 35.94 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.00697, allocations: 57.69 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.006976, allocations: 0 / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.985e-05/0.007055, allocations: 85.75 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.007065, allocations: 4 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007069, allocations: 4 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.007078, allocations: 0 / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.007129, allocations: 23.92 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007132, allocations: 0 / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.007158, allocations: 15.98 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007164, allocations: 4 kB / 329.1 MB, free: 3.605 MB / 298.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 (13): * Single equations (assignments): 13 * 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 6.04e-05/0.007225, allocations: 123.3 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.007238, allocations: 16.02 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.007343, allocations: 91.77 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007344, allocations: 0 / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007346, allocations: 0 / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007349, allocations: 0 / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.007571, allocations: 336.1 kB / 329.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007573, allocations: 0 / 329.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.007601, allocations: 12 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007604, allocations: 4 kB / 329.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.00761, allocations: 4.062 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.007613, allocations: 7.969 kB / 329.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007615, allocations: 4 kB / 329.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007723, allocations: 234.1 kB / 329.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.007738, allocations: 19.88 kB / 329.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.007754, allocations: 8 kB / 329.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.007792, allocations: 0 / 329.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.007816, allocations: 7.984 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.007827, allocations: 7.938 kB / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.575e-05/0.007873, allocations: 64.22 kB / 330 MB, free: 2.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007873, allocations: 0 / 330 MB, free: 2.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.008022, allocations: 35.94 kB / 330.1 MB, free: 2.578 MB / 298.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 (12): * Single equations (assignments): 10 * 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.001248/0.009269, allocations: 0.6441 MB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.667e-05/0.009356, allocations: 56.72 kB / 330.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.009361, allocations: 4 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.009395, allocations: 36.72 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.009558, allocations: 39.86 kB / 330.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.009834, allocations: 260.4 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.009873, allocations: 75.33 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.009923, allocations: 16.62 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.009987, allocations: 75.36 kB / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009987, allocations: 0 / 331.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of Templates: time 0.003503/0.01349, allocations: 2.303 MB / 333.6 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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: 2.8635106501169503]