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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006885/0.0006885, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001707, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006451/0.0006451, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000936/0.001581, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9148/0.9148, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1656/1.08, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.1498/0.1498, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02166/0.1715, allocations: 12.54 MB / 284.5 MB, free: 9.707 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.353e-06/1.353e-06, allocations: 0 / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.29e-05, allocations: 2.312 kB / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003408/0.003431, allocations: 2.08 MB / 288 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004932, allocations: 0.9698 MB / 289 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.005031, allocations: 0 / 289 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.005273, allocations: 55.52 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.005468, allocations: 71.5 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.005828, allocations: 159.4 kB / 289.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.00611, allocations: 199.3 kB / 289.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.006212, allocations: 18.45 kB / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.006423, allocations: 139.6 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.006541, allocations: 63.8 kB / 289.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.006576, allocations: 12 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.006689, allocations: 51.92 kB / 289.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.006757, allocations: 27.86 kB / 289.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.006824, allocations: 35.88 kB / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.007109, allocations: 151.4 kB / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.007122, allocations: 0 / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007123, allocations: 0 / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.007134, allocations: 0 / 289.9 MB, free: 4.297 MB / 282.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.000751/0.007885, allocations: 498.6 kB / 290.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.007921, allocations: 8.031 kB / 290.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.007978, allocations: 16.92 kB / 290.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.008323, allocations: 166.5 kB / 290.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.008347, allocations: 12.38 kB / 290.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.008379, allocations: 12.36 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.008619, allocations: 161.9 kB / 290.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.008629, allocations: 3.938 kB / 290.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008641, allocations: 0 / 290.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.008648, allocations: 4 kB / 290.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/0.008707, allocations: 30.75 kB / 290.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.009047, allocations: 382 kB / 291.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.009218, allocations: 121.2 kB / 291.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.009252, allocations: 24.84 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.009265, allocations: 4 kB / 291.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.009403, allocations: 111.9 kB / 291.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.009404, allocations: 0 / 291.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001548/0.009559, allocations: 93.86 kB / 291.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.009587, allocations: 51.41 kB / 291.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.009701, allocations: 209.2 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.009719, allocations: 37.7 kB / 291.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.009772, allocations: 112.4 kB / 292 MB, free: 2.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.009799, allocations: 31.73 kB / 292 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.009842, allocations: 37.69 kB / 292 MB, free: 2.012 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.009915, allocations: 338.7 kB / 292.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.009955, allocations: 48.52 kB / 292.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.01, allocations: 81.97 kB / 292.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.01009, allocations: 115.5 kB / 292.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01009, allocations: 0 / 292.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001332/0.01023, allocations: 159.8 kB / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.01026, allocations: 37.7 kB / 292.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01027, allocations: 4 kB / 292.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01028, allocations: 4 kB / 292.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01038, allocations: 35.92 kB / 292.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01039, allocations: 0 / 292.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.01046, allocations: 28 kB / 292.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01047, allocations: 11.94 kB / 292.9 MB, free: 1.078 MB / 282.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.626e-05/0.01055, allocations: 128.5 kB / 293 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.01057, allocations: 11.98 kB / 293 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.01069, allocations: 99.11 kB / 293.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01069, allocations: 0 / 293.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01069, allocations: 0 / 293.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01069, allocations: 0 / 293.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.059e-05/0.01078, allocations: 109.7 kB / 293.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01079, allocations: 7.938 kB / 293.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.68e-05/0.01085, allocations: 27.98 kB / 293.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01087, allocations: 15.89 kB / 293.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01087, allocations: 3.984 kB / 293.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01088, allocations: 0 / 293.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01088, allocations: 7.938 kB / 293.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01088, allocations: 0 / 293.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.01102, allocations: 138.3 kB / 293.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.01104, allocations: 0 / 293.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.01109, allocations: 19.98 kB / 293.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01113, allocations: 15.97 kB / 293.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01114, allocations: 4.031 kB / 293.4 MB, free: 460 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.01119, allocations: 71.92 kB / 293.5 MB, free: 384 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01119, allocations: 0 / 293.5 MB, free: 384 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.01133, allocations: 43.89 kB / 293.6 MB, free: 340 kB / 282.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.001215/0.01255, allocations: 0.5577 MB / 294.1 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.01271, allocations: 154.1 kB / 294.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.01272, allocations: 8.094 kB / 294.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.01277, allocations: 40.77 kB / 294.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01302, allocations: 377.2 kB / 294.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.01362, allocations: 306 kB / 295 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.01366, allocations: 71.98 kB / 295.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.01371, allocations: 21.48 kB / 295.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.0138, allocations: 83.36 kB / 295.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0138, allocations: 0 / 295.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004513/0.01832, allocations: 3.276 MB / 298.4 MB, free: 11.65 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.919512047432363]