Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009859/0.0009859, 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.001178/0.001178, allocations: 173 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.9464/0.9464, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.2947/0.2947, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.68e-05, allocations: 6.969 kB / 325.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002663/0.00269, allocations: 1.764 MB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.004062, allocations: 0.9982 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.004147, allocations: 0 / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.004453, allocations: 47.77 kB / 328.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.004776, allocations: 103.4 kB / 328.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.004958, allocations: 83.59 kB / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.005108, allocations: 95.7 kB / 328.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.005146, allocations: 4.219 kB / 328.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.005232, allocations: 55.77 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.005301, allocations: 23.92 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.005314, allocations: 8 kB / 328.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.00538, allocations: 31.98 kB / 328.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.005424, allocations: 31.84 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.005455, allocations: 16.44 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005595, allocations: 107.5 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005598, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0056, allocations: 3.984 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005604, allocations: 0 / 328.7 MB, free: 4.211 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003543/0.005958, allocations: 333.4 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.005999, allocations: 12.03 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.006038, allocations: 12.92 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.006281, allocations: 166.4 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.006302, allocations: 384 / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.00631, allocations: 384 / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.006478, allocations: 61.77 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.00649, allocations: 3.938 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.006498, allocations: 0 / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.006508, allocations: 4 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.006543, allocations: 7.938 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.00672, allocations: 74.67 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.006855, allocations: 41.44 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.006886, allocations: 8.859 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.006902, allocations: 0 / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.007052, allocations: 62.22 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.007054, allocations: 0 / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001737/0.007228, allocations: 61.61 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.007264, allocations: 55.34 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.00744, allocations: 216 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.007456, allocations: 25.7 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.007494, allocations: 104.1 kB / 330 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.007526, allocations: 19.84 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.007562, allocations: 17.7 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.007666, allocations: 334.8 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.007691, allocations: 6.828 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.007719, allocations: 17.72 kB / 330.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.007772, allocations: 35.3 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007774, allocations: 0 / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.007897, allocations: 64.75 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.007912, allocations: 4 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007916, allocations: 4 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007929, allocations: 0 / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.007997, allocations: 23.92 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008, allocations: 0 / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.008031, allocations: 4 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.008036, allocations: 0 / 330.5 MB, free: 2.281 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 (7): * Single equations (assignments): 7 * 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 7.055e-05/0.008107, allocations: 116.7 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.008122, allocations: 15.98 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.862e-05/0.00822, allocations: 70.73 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008223, allocations: 4 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.008226, allocations: 3.938 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008229, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.008313, allocations: 89.84 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008314, allocations: 0 / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.008336, allocations: 4 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008338, allocations: 0 / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.008345, allocations: 7.984 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008347, allocations: 4 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008348, allocations: 0 / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.008418, allocations: 90.64 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.008432, allocations: 15.91 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.008449, allocations: 7.984 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/0.008471, allocations: 4 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.008494, allocations: 4 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.008506, allocations: 3.984 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.008566, allocations: 76.94 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008566, allocations: 0 / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001225/0.008688, allocations: 23.94 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00109/0.009778, allocations: 0.4957 MB / 331.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.009861, allocations: 40.77 kB / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.009866, allocations: 0 / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.009893, allocations: 20.84 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.01004, allocations: 34.31 kB / 331.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.01036, allocations: 235.2 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.0104, allocations: 71.33 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.01043, allocations: 12.56 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.01049, allocations: 63.36 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01049, allocations: 0 / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of Templates: time 0.003778/0.01427, allocations: 1.786 MB / 333.8 MB, free: 15.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.9010051116347313]