Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001007/0.001007, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002568, 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.0008655/0.0008655, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002165, 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.988/0.988, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1846/1.173, allocations: 52.48 MB / 238.5 MB, free: 7.629 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.1363/0.1363, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02484/0.1612, allocations: 12.53 MB / 284.5 MB, free: 9.723 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.291e-05, allocations: 5.406 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003246/0.003269, allocations: 1.858 MB / 287.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.004796, allocations: 0.9584 MB / 288.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.004865, allocations: 4 kB / 288.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.005247, allocations: 311 kB / 289.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.005547, allocations: 215.2 kB / 289.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.005926, allocations: 171.4 kB / 289.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.006228, allocations: 247.3 kB / 289.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.006259, allocations: 10.41 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.006516, allocations: 200.3 kB / 289.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.006712, allocations: 175.7 kB / 290.1 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.006734, allocations: 8 kB / 290.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006835, allocations: 47.86 kB / 290.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.006946, allocations: 139.6 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.007019, allocations: 51.75 kB / 290.3 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.007325, allocations: 270.9 kB / 290.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.007331, allocations: 0 / 290.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007332, allocations: 0 / 290.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.007339, allocations: 0 / 290.6 MB, free: 3.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00072/0.008059, allocations: 0.6768 MB / 291.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.008086, allocations: 12.03 kB / 291.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.008144, allocations: 32.89 kB / 291.3 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.008454, allocations: 293.9 kB / 291.6 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.008465, allocations: 4.375 kB / 291.6 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.008478, allocations: 8.359 kB / 291.6 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.008597, allocations: 91.39 kB / 291.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.008603, allocations: 3.938 kB / 291.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.008611, allocations: 3.984 kB / 291.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.008615, allocations: 4 kB / 291.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.008652, allocations: 17.64 kB / 291.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.008809, allocations: 118.3 kB / 291.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.008934, allocations: 90.78 kB / 291.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.00897, allocations: 25.7 kB / 291.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.008979, allocations: 4 kB / 291.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.009095, allocations: 99.83 kB / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.009096, allocations: 4 kB / 292 MB, free: 2.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001662/0.009262, allocations: 99.23 kB / 292.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.0093, allocations: 89.05 kB / 292.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.009854, allocations: 0.5907 MB / 292.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.009876, allocations: 29.7 kB / 292.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.009958, allocations: 145.3 kB / 293 MB, free: 1.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.009991, allocations: 27.8 kB / 293 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.01003, allocations: 29.69 kB / 293 MB, free: 1.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01016, allocations: 366.7 kB / 293.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.01019, allocations: 18.81 kB / 293.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.01023, allocations: 42.88 kB / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.01031, allocations: 71.81 kB / 293.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.01031, allocations: 4 kB / 293.5 MB, free: 500 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001427/0.01045, allocations: 111.8 kB / 293.6 MB, free: 380 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.01046, allocations: 4 kB / 293.6 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.01047, allocations: 0 / 293.6 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.01047, allocations: 4 kB / 293.6 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.01056, allocations: 27.92 kB / 293.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.01056, allocations: 0 / 293.7 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.01064, allocations: 15.94 kB / 293.7 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01065, allocations: 7.938 kB / 293.7 MB, free: 320 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.072e-05/0.01074, allocations: 120.7 kB / 293.8 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.01079, allocations: 31.95 kB / 293.8 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.01096, allocations: 125.7 kB / 294 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01096, allocations: 0 / 294 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01096, allocations: 7.938 kB / 294 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01097, allocations: 0 / 294 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01117, allocations: 165.7 kB / 294.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01117, allocations: 0 / 294.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.01122, allocations: 15.98 kB / 294.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.01128, allocations: 43.67 kB / 294.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01129, allocations: 11.98 kB / 294.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01129, allocations: 0 / 294.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.0113, allocations: 0 / 294.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.0113, allocations: 7.938 kB / 294.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.01146, allocations: 142.2 kB / 294.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.0115, allocations: 7.984 kB / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.01156, allocations: 4 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.0116, allocations: 7.984 kB / 294.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01161, allocations: 7.938 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.01194, allocations: 319.2 kB / 294.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01194, allocations: 4 kB / 294.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01218, allocations: 40 kB / 294.7 MB, free: 15.2 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00164/0.01382, allocations: 0.5597 MB / 295.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.01394, allocations: 56.77 kB / 295.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.01395, allocations: 8 kB / 295.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.01402, allocations: 32.84 kB / 295.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.01444, allocations: 390.5 kB / 295.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.01558, allocations: 0.6452 MB / 296.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.01572, allocations: 128.2 kB / 296.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.959e-05/0.01582, allocations: 38.94 kB / 296.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.01598, allocations: 95.36 kB / 296.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01598, allocations: 3.938 kB / 296.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.006279/0.02226, allocations: 4.335 MB / 301 MB, free: 9.168 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.855803357437253]