Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.00215/0.00215, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002769/0.002769, allocations: 214.1 kB / 24.48 MB, free: 3.844 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2411/0.2411, allocations: 44.93 MB / 359.6 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 67.91 kB / 0.4943 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.353, allocations: 65.48 MB / 0.5583 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004105/0.3571, allocations: 1.702 MB / 0.5599 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3592, allocations: 0.9676 MB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3593, allocations: 7.938 kB / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3597, allocations: 39.77 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.3601, allocations: 99.59 kB / 0.561 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3604, allocations: 79.61 kB / 0.5611 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3606, allocations: 103.7 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3607, allocations: 11.94 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3608, allocations: 39.8 kB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3609, allocations: 47.7 kB / 0.5613 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3609, allocations: 4 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3611, allocations: 39.98 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.3611, allocations: 19.92 kB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.3612, allocations: 27.8 kB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3615, allocations: 125.9 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3615, allocations: 0 / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3615, allocations: 0 / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3615, allocations: 0 / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006629/0.3621, allocations: 353.5 kB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3622, allocations: 8.031 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3622, allocations: 12.88 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3626, allocations: 151 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3626, allocations: 384 / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3626, allocations: 8.125 kB / 0.562 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3628, allocations: 57.67 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3628, allocations: 0 / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3628, allocations: 4 kB / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3628, allocations: 0 / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3629, allocations: 31.92 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3634, allocations: 236.5 kB / 0.5623 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3636, allocations: 54.66 kB / 0.5624 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.3636, allocations: 20.84 kB / 0.5624 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3636, allocations: 4 kB / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3638, allocations: 67.33 kB / 0.5624 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3638, allocations: 4 kB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006354/0.3645, allocations: 185.3 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.3645, allocations: 55.41 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3648, allocations: 198.3 kB / 0.5629 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.3648, allocations: 25.7 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.3649, allocations: 112.1 kB / 0.563 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.3649, allocations: 27.78 kB / 0.563 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.365, allocations: 17.72 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3652, allocations: 330.8 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.3652, allocations: 19.98 kB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.3653, allocations: 41.64 kB / 0.5634 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3655, allocations: 77.56 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3655, allocations: 0 / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002247/0.3657, allocations: 101.6 kB / 0.5636 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3657, allocations: 7.984 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3657, allocations: 0 / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3657, allocations: 3.938 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.3658, allocations: 16 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3658, allocations: 0 / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3659, allocations: 0 / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.3659, allocations: 12.02 kB / 0.5636 GB, free: 1.738 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 0.0001302/0.366, allocations: 132.6 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3661, allocations: 11.91 kB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.3664, allocations: 123.1 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3664, allocations: 7.984 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3664, allocations: 384 / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3664, allocations: 0 / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3669, allocations: 346.9 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3669, allocations: 0 / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.3669, allocations: 16.02 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3669, allocations: 7.938 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.367, allocations: 4 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.367, allocations: 0 / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.367, allocations: 7.938 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3672, allocations: 208.2 kB / 0.5645 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.3673, allocations: 11.94 kB / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3673, allocations: 8 kB / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3674, allocations: 0 / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3674, allocations: 11.92 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3674, allocations: 8.375 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3676, allocations: 160.2 kB / 0.5646 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3676, allocations: 0 / 0.5646 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3679, allocations: 23.94 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001916/0.3698, allocations: 497.1 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.37, allocations: 55.92 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.37, allocations: 0 / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.3701, allocations: 31.92 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3704, allocations: 33.16 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.371, allocations: 268.4 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3711, allocations: 96.31 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.3712, allocations: 15.44 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3712, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004741/0.3759, allocations: 2.011 MB / 0.5676 GB, free: 13.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.152421729639173]