Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.0009505/0.0009505, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001566/0.001566, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 4.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.1385/0.1385, allocations: 32.8 MB / 294.6 MB, free: 15.45 MB / 282.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 323.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.187e-05, allocations: 8.781 kB / 323.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002739/0.002761, allocations: 2.091 MB / 325.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004164, allocations: 1.091 MB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-05/0.004263, allocations: 7.938 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.004677, allocations: 43.64 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.004924, allocations: 115.3 kB / 326.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.005125, allocations: 119.5 kB / 326.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.005327, allocations: 215.2 kB / 327 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.005413, allocations: 18.45 kB / 327 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.005551, allocations: 107.7 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.00565, allocations: 63.78 kB / 327.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.005671, allocations: 12 kB / 327.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.005753, allocations: 51.88 kB / 327.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.005805, allocations: 43.83 kB / 327.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.005855, allocations: 43.84 kB / 327.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.006073, allocations: 163.4 kB / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.006075, allocations: 4 kB / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.006078, allocations: 4 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.006082, allocations: 0 / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005351/0.006617, allocations: 471 kB / 328 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.00665, allocations: 11.98 kB / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.006688, allocations: 20.92 kB / 328 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.00687, allocations: 173.4 kB / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.006884, allocations: 12.38 kB / 328.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.006902, allocations: 8.312 kB / 328.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.007089, allocations: 154 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007099, allocations: 7.938 kB / 328.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.007108, allocations: 4 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.007114, allocations: 3.984 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.007167, allocations: 34.69 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.007536, allocations: 382.1 kB / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.0077, allocations: 121.2 kB / 328.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.007731, allocations: 20.84 kB / 328.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.007746, allocations: 4 kB / 328.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.007883, allocations: 119.9 kB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.007885, allocations: 0 / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001556/0.008041, allocations: 97.52 kB / 329.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.008068, allocations: 55.41 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.008201, allocations: 217.2 kB / 329.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.008219, allocations: 29.7 kB / 329.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.008272, allocations: 120.8 kB / 329.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.008295, allocations: 35.72 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.00834, allocations: 29.7 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.008427, allocations: 342.7 kB / 329.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.008473, allocations: 44.53 kB / 330 MB, free: 11.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.008528, allocations: 85.91 kB / 330.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.008619, allocations: 115.5 kB / 330.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008621, allocations: 0 / 330.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000147/0.008768, allocations: 163.3 kB / 330.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.008798, allocations: 37.69 kB / 330.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008803, allocations: 0 / 330.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008815, allocations: 4 kB / 330.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.008918, allocations: 31.92 kB / 330.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008922, allocations: 4 kB / 330.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.00899, allocations: 24.05 kB / 330.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.008998, allocations: 4 kB / 330.4 MB, free: 11.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.809e-05/0.009076, allocations: 136.5 kB / 330.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.009096, allocations: 15.98 kB / 330.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.00922, allocations: 95.05 kB / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009222, allocations: 0 / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.009223, allocations: 0 / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.009227, allocations: 0 / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.987e-05/0.009317, allocations: 117.8 kB / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.009319, allocations: 3.938 kB / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.009388, allocations: 23.92 kB / 330.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.00939, allocations: 4 kB / 330.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.009401, allocations: 4 kB / 330.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009402, allocations: 0 / 330.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009403, allocations: 0 / 330.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.009558, allocations: 130.7 kB / 331 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.009581, allocations: 27.77 kB / 331 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.009599, allocations: 4 kB / 331 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.009655, allocations: 19.97 kB / 331 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.009696, allocations: 20 kB / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.009708, allocations: 7.984 kB / 331 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.009769, allocations: 66.25 kB / 331.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009769, allocations: 0 / 331.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.009907, allocations: 43.89 kB / 331.1 MB, free: 10.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001056/0.01096, allocations: 0.5045 MB / 331.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.01112, allocations: 153.4 kB / 331.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01113, allocations: 8.062 kB / 331.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.01118, allocations: 40.77 kB / 331.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.01135, allocations: 51.12 kB / 331.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.01174, allocations: 306.5 kB / 332.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.01178, allocations: 79.98 kB / 332.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.285e-05/0.01184, allocations: 25.47 kB / 332.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.01193, allocations: 87.28 kB / 332.4 MB, free: 9.438 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01193, allocations: 0 / 332.4 MB, free: 9.438 MB / 314.7 MB Notification: Performance of Templates: time 0.005204/0.01714, allocations: 3.194 MB / 335.6 MB, free: 6.297 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.071580446790904]