Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0009486/0.0009486, 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.001063/0.001063, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2528/0.2528, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.Test76,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.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,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.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 323.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.581e-05, allocations: 3.016 kB / 323.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002056/0.002072, allocations: 1.77 MB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003373, allocations: 1.013 MB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.003443, allocations: 4 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.003664, allocations: 51.62 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.00392, allocations: 99.53 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.004085, allocations: 83.59 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.004223, allocations: 135.6 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.004284, allocations: 12.61 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.004362, allocations: 71.73 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.004434, allocations: 43.89 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.004447, allocations: 4 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.004531, allocations: 67.92 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.004571, allocations: 31.89 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.004602, allocations: 23.88 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004747, allocations: 127.5 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.004749, allocations: 3.938 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004749, allocations: 0 / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.004752, allocations: 0 / 326.9 MB, free: 6.027 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003573/0.005109, allocations: 345.2 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.00515, allocations: 8.031 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.00519, allocations: 16.94 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005346, allocations: 154.8 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.005362, allocations: 4.375 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.00538, allocations: 4.375 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.005491, allocations: 77.69 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005501, allocations: 7.891 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005509, allocations: 0 / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005514, allocations: 4 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.005553, allocations: 23.97 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.005774, allocations: 185.9 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.005937, allocations: 101.3 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.005964, allocations: 21.02 kB / 327.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.005975, allocations: 3.984 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/0.006063, allocations: 74.17 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.006065, allocations: 3.984 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003759/0.006441, allocations: 197.3 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.006467, allocations: 55.41 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.006562, allocations: 176.2 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.006578, allocations: 33.7 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.006606, allocations: 100.3 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.006636, allocations: 39.69 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.00667, allocations: 37.69 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.006743, allocations: 330.7 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.006764, allocations: 18.81 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.006799, allocations: 37.58 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.006859, allocations: 63.27 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006859, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.672e-05/0.006946, allocations: 90.8 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.006956, allocations: 12.03 kB / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006959, allocations: 0 / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006971, allocations: 0 / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.007026, allocations: 27.98 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.00703, allocations: 3.938 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.007054, allocations: 0 / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.00706, allocations: 4 kB / 329.1 MB, free: 3.629 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 (15): * Single equations (assignments): 15 * 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.581e-05/0.007126, allocations: 123 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.007143, allocations: 15.98 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.007266, allocations: 107.1 kB / 329.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007267, allocations: 4 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.00727, allocations: 7.984 kB / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007273, allocations: 3.938 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.007533, allocations: 348.2 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007535, allocations: 0 / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.007575, allocations: 19.98 kB / 329.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007577, allocations: 0 / 329.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.007584, allocations: 4 kB / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.007587, allocations: 7.922 kB / 329.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.00759, allocations: 8.062 kB / 329.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.007717, allocations: 239.8 kB / 329.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.00773, allocations: 15.89 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.007749, allocations: 8 kB / 330 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.007793, allocations: 7.984 kB / 330 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.007821, allocations: 11.98 kB / 330 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.007833, allocations: 7.938 kB / 330 MB, free: 2.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.007876, allocations: 56.69 kB / 330 MB, free: 2.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007876, allocations: 3.938 kB / 330 MB, free: 2.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.008028, allocations: 39.86 kB / 330.1 MB, free: 2.535 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 (16): * Single equations (assignments): 14 * 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.001462/0.00949, allocations: 0.6527 MB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.0096, allocations: 64.75 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.009604, allocations: 4 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.009643, allocations: 36.78 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.009813, allocations: 35.84 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.01013, allocations: 277.2 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.01017, allocations: 79.77 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.01021, allocations: 25.47 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.01028, allocations: 71.36 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01028, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of Templates: time 0.003707/0.01399, allocations: 2.602 MB / 333.9 MB, free: 15.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.9331476939842105]