Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001018/0.001018, allocations: 80.92 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.001896/0.001896, allocations: 169.9 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 0.9686/0.9686, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 34.25 MB / 296.1 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.767e-05, allocations: 3.812 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002293/0.00231, allocations: 1.809 MB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003531, allocations: 1.006 MB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.003598, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.003866, allocations: 43.7 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.004116, allocations: 91.47 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.004278, allocations: 79.61 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.004418, allocations: 107.7 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.004495, allocations: 15.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.004585, allocations: 55.83 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.004651, allocations: 23.91 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.004666, allocations: 4 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.004739, allocations: 39.94 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.004782, allocations: 27.84 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.004815, allocations: 20.42 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004965, allocations: 95.66 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004967, allocations: 0 / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004967, allocations: 8 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004971, allocations: 0 / 328.8 MB, free: 4.133 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003743/0.005345, allocations: 317.5 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.00538, allocations: 8.031 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.005413, allocations: 8.875 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005573, allocations: 150.2 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005586, allocations: 384 / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.005605, allocations: 4.375 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.005713, allocations: 65.77 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.005723, allocations: 3.938 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.005729, allocations: 4 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005736, allocations: 4 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.005761, allocations: 15.92 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.005988, allocations: 162 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.006083, allocations: 85.28 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.006101, allocations: 12.84 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.006111, allocations: 0 / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.403e-05/0.006195, allocations: 70.09 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006196, allocations: 0 / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000258/0.006454, allocations: 121.5 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.00648, allocations: 51.41 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.006571, allocations: 170.1 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006584, allocations: 29.7 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.006614, allocations: 92.11 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.00664, allocations: 31.73 kB / 330.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.006667, allocations: 25.7 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.006739, allocations: 322.8 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.006753, allocations: 10.83 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.006774, allocations: 25.7 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.006817, allocations: 44.45 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006818, allocations: 0 / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.365e-05/0.006891, allocations: 72.44 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.006904, allocations: 4 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006908, allocations: 4 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.006919, allocations: 3.938 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.006977, allocations: 15.98 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.00698, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.007006, allocations: 8 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.00701, allocations: 4.031 kB / 330.7 MB, free: 2.047 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 (10): * Single equations (assignments): 10 * 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.006e-05/0.007071, allocations: 120.6 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.007084, allocations: 16.3 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-05/0.007181, allocations: 75.08 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007183, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007185, allocations: 3.984 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.007189, allocations: 4 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.007385, allocations: 295.6 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.007387, allocations: 3.984 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.007409, allocations: 16.03 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007412, allocations: 4 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.007417, allocations: 0 / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.00742, allocations: 3.984 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007421, allocations: 0 / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.00752, allocations: 215 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.00753, allocations: 11.91 kB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.007545, allocations: 4 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.007582, allocations: 4 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.007605, allocations: 3.984 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.007616, allocations: 11.94 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.007655, allocations: 48.34 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007655, allocations: 0 / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007799, allocations: 27.92 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001288/0.009086, allocations: 0.5744 MB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.009167, allocations: 36.78 kB / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.009169, allocations: 4 kB / 332.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.009199, allocations: 20.84 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.009367, allocations: 32.42 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.009654, allocations: 227.9 kB / 332.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.009695, allocations: 67.45 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.009728, allocations: 21.22 kB / 332.5 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.009798, allocations: 67.36 kB / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009799, allocations: 0 / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of Templates: time 0.003561/0.01336, allocations: 2.011 MB / 334.6 MB, free: 14.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.8446656120941043]