Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001477/0.001477, 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.00159/0.00159, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2311/0.2311, allocations: 44.94 MB / 359.6 MB, free: 6.078 MB / 286.1 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.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [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.002432/0.002432, allocations: 66.41 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, allocations: 65.48 MB / 0.5583 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003539/0.3596, allocations: 1.726 MB / 0.56 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3615, allocations: 0.9754 MB / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.3615, allocations: 0 / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.3619, allocations: 51.75 kB / 0.561 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.3622, allocations: 103.5 kB / 0.5611 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3624, allocations: 75.73 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3626, allocations: 131.6 kB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3628, allocations: 23.97 kB / 0.5613 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3629, allocations: 51.78 kB / 0.5613 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.363, allocations: 47.77 kB / 0.5614 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.363, allocations: 4 kB / 0.5614 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3631, allocations: 75.89 kB / 0.5614 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.3632, allocations: 23.92 kB / 0.5615 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.3633, allocations: 39.78 kB / 0.5615 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3635, allocations: 141.8 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3635, allocations: 4 kB / 0.5616 GB, free: 3.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3635, allocations: 0 / 0.5616 GB, free: 3.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3635, allocations: 0 / 0.5616 GB, free: 3.988 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006336/0.3642, allocations: 381.2 kB / 0.562 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3642, allocations: 8.031 kB / 0.562 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3643, allocations: 16.84 kB / 0.562 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.3646, allocations: 158.3 kB / 0.5622 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3646, allocations: 4.375 kB / 0.5622 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3646, allocations: 12.12 kB / 0.5622 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3648, allocations: 77.58 kB / 0.5623 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3648, allocations: 3.938 kB / 0.5623 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3648, allocations: 4 kB / 0.5623 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3648, allocations: 4 kB / 0.5623 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.365, allocations: 51.95 kB / 0.5623 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.3655, allocations: 264.5 kB / 0.5626 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.3658, allocations: 94.55 kB / 0.5627 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.3659, allocations: 36.83 kB / 0.5627 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3659, allocations: 0 / 0.5627 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.3661, allocations: 87.38 kB / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3661, allocations: 0 / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009357/0.367, allocations: 317.1 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3671, allocations: 60.25 kB / 0.5632 GB, free: 2.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.3673, allocations: 215.2 kB / 0.5634 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3674, allocations: 25.7 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.3675, allocations: 108.4 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3675, allocations: 47.58 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.3676, allocations: 33.7 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3678, allocations: 322.8 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.3679, allocations: 39.98 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.368, allocations: 72.38 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3682, allocations: 109.3 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3682, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002923/0.3685, allocations: 161.5 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3685, allocations: 4 kB / 0.5642 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3685, allocations: 0 / 0.5642 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3685, allocations: 4 kB / 0.5642 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3686, allocations: 23.98 kB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3686, allocations: 0 / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.3687, allocations: 19.95 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3687, allocations: 4 kB / 0.5643 GB, free: 1.094 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 (15): * Single equations (assignments): 15 * 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.0001318/0.3688, allocations: 125.8 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.3688, allocations: 19.89 kB / 0.5644 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.3693, allocations: 195 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3693, allocations: 4 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3693, allocations: 0 / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3693, allocations: 3.938 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.37, allocations: 459.8 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.37, allocations: 0 / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.3701, allocations: 20 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3701, allocations: 3.938 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3701, allocations: 11.98 kB / 0.5651 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3701, allocations: 4 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3701, allocations: 0 / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.3705, allocations: 285.1 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.3705, allocations: 11.91 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.3706, allocations: 15.75 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.3706, allocations: 8.062 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3707, allocations: 15.97 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3707, allocations: 4 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3708, allocations: 155.2 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3708, allocations: 0 / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3711, allocations: 35.92 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002205/0.3734, allocations: 0.5432 MB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.3736, allocations: 103.9 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3736, allocations: 8 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3738, allocations: 59.91 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3742, allocations: 39.39 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.3748, allocations: 322.2 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3749, allocations: 102.1 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.375, allocations: 27.56 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.375, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004908/0.3799, allocations: 2.479 MB / 0.5692 GB, free: 12.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.002849110867828]