Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001052/0.001052, 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.0009953/0.0009953, 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.284/0.284, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.544e-05, allocations: 3.812 kB / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002525/0.002551, allocations: 1.755 MB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003832, allocations: 1.002 MB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.003904, allocations: 4 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.004178, allocations: 47.75 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.004433, allocations: 103.4 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.004612, allocations: 75.61 kB / 328.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004755, allocations: 99.69 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.004796, allocations: 8.219 kB / 328.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.004877, allocations: 51.78 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.004942, allocations: 23.91 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.004956, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.005022, allocations: 31.98 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.005064, allocations: 31.86 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.005094, allocations: 20.42 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.005235, allocations: 107.5 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005238, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005239, allocations: 0 / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005242, allocations: 0 / 328.7 MB, free: 4.207 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.0003501/0.005593, allocations: 337.4 kB / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005627, allocations: 8.031 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.005666, allocations: 12.92 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.005823, allocations: 162.4 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005835, allocations: 384 / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.005843, allocations: 4.375 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.005934, allocations: 61.75 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005945, allocations: 11.94 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.005951, allocations: 0 / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005956, allocations: 4 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.005977, allocations: 11.92 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.44e-05/0.006061, allocations: 70.7 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.006134, allocations: 33.44 kB / 329.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.006151, allocations: 8.859 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.006161, allocations: 4 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.603e-05/0.006237, allocations: 66.2 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.006238, allocations: 0 / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001058/0.006344, allocations: 57.62 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.006372, allocations: 59.34 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.006497, allocations: 212 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.006513, allocations: 37.64 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.006543, allocations: 96.09 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.00657, allocations: 11.91 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.0066, allocations: 25.69 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.00668, allocations: 326.8 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.006694, allocations: 10.83 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.006719, allocations: 21.7 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.00676, allocations: 39.28 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006763, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.426e-05/0.006827, allocations: 60.45 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.006837, allocations: 8 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006841, allocations: 0 / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006852, allocations: 0 / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.006914, allocations: 15.92 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006917, allocations: 8.031 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.006943, allocations: 0 / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006949, allocations: 4 kB / 330.5 MB, free: 2.27 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 6.102e-05/0.00701, allocations: 120.7 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.00702, allocations: 4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.007103, allocations: 71.08 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007106, allocations: 4 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007108, allocations: 3.938 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.007111, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.524e-05/0.007187, allocations: 93.84 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007187, allocations: 4 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.007202, allocations: 4 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007204, allocations: 4 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.00721, allocations: 3.984 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007211, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007211, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.312e-05/0.007274, allocations: 90.64 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.00729, allocations: 19.91 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007303, allocations: 0 / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.007322, allocations: 4 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.007342, allocations: 3.984 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.007352, allocations: 7.984 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.413e-05/0.007406, allocations: 84.88 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007406, allocations: 0 / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001145/0.007521, allocations: 19.98 kB / 331 MB, free: 1.68 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.001063/0.008584, allocations: 0.5019 MB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.008662, allocations: 28.78 kB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.008666, allocations: 4 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.00869, allocations: 12.92 kB / 331.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.008829, allocations: 35.95 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.009131, allocations: 231.4 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.009167, allocations: 71.33 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.0092, allocations: 20.47 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.009256, allocations: 63.38 kB / 332 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009256, allocations: 0 / 332 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of Templates: time 0.0032/0.01246, allocations: 1.797 MB / 333.8 MB, free: 15.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.92365789366886]