Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001515/0.001515, allocations: 80.8 kB / 21.5 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.001544/0.001544, allocations: 170.4 kB / 24.91 MB, free: 8.688 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 0.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2585/0.2585, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.367e-05, allocations: 6.25 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002028/0.002042, allocations: 1.771 MB / 325.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.00318, allocations: 1.005 MB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.003243, allocations: 0 / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.003506, allocations: 91.62 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.003775, allocations: 131.4 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.003931, allocations: 83.59 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.004077, allocations: 123.6 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.078e-05/0.004158, allocations: 16.59 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.004251, allocations: 63.81 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.004344, allocations: 59.81 kB / 326.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004358, allocations: 4 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.004453, allocations: 63.91 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.004501, allocations: 27.92 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.004534, allocations: 31.84 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.004693, allocations: 115.5 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004694, allocations: 0 / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004695, allocations: 4 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004698, allocations: 0 / 326.9 MB, free: 6.023 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.0003632/0.005061, allocations: 337.2 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.00509, allocations: 8.031 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.005118, allocations: 12.92 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.00526, allocations: 154.3 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.005274, allocations: 8.375 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.005293, allocations: 12.3 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.005388, allocations: 65.75 kB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005398, allocations: 7.922 kB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.005406, allocations: 4 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005411, allocations: 4 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.005438, allocations: 19.97 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.00563, allocations: 170 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.005758, allocations: 93.23 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.005777, allocations: 16.86 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.005787, allocations: 0 / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.498e-05/0.005862, allocations: 78.25 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.005863, allocations: 0 / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003786/0.006241, allocations: 169.9 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.006268, allocations: 55.34 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.006379, allocations: 193.6 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.006395, allocations: 33.7 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.006426, allocations: 96.09 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.006455, allocations: 43.69 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.006485, allocations: 21.7 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.006559, allocations: 330.8 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.006577, allocations: 14.81 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.006603, allocations: 25.7 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.006657, allocations: 53.16 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006658, allocations: 4 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.343e-05/0.006741, allocations: 81.8 kB / 329 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.006751, allocations: 7.938 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006754, allocations: 4.031 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006765, allocations: 0 / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.006815, allocations: 19.94 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006819, allocations: 7.984 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.006843, allocations: 0 / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.006851, allocations: 8 kB / 329 MB, free: 3.727 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.3e-05/0.006914, allocations: 127.4 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.006928, allocations: 11.98 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.00704, allocations: 87.77 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.007042, allocations: 4 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.007043, allocations: 0 / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007046, allocations: 4 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.007294, allocations: 328.2 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007295, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.007327, allocations: 19.92 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007329, allocations: 4 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007336, allocations: 4 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.007337, allocations: 0 / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.00734, allocations: 4 kB / 329.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007455, allocations: 242.1 kB / 329.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.007467, allocations: 11.91 kB / 329.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.007482, allocations: 4 kB / 329.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.007524, allocations: 4 kB / 329.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.007553, allocations: 11.97 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.007566, allocations: 7.938 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.007618, allocations: 64.22 kB / 329.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007618, allocations: 0 / 329.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.007779, allocations: 27.94 kB / 330 MB, free: 2.707 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.001486/0.009264, allocations: 0.6559 MB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009373, allocations: 60.7 kB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.009376, allocations: 0 / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.009428, allocations: 32.78 kB / 330.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.0096, allocations: 36.66 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.009953, allocations: 264.5 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.01, allocations: 75.34 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.0101, allocations: 16.62 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01017, allocations: 71.36 kB / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of SimCode: time 1.412e-06/0.01017, allocations: 0 / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of Templates: time 0.003874/0.01405, allocations: 2.311 MB / 333.5 MB, free: 15.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.9573371140286326]