Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001785/0.001785, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002537/0.002537, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.739/1.739, allocations: 230.6 MB / 257.5 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.2248/0.2248, allocations: 44.93 MB / 358.8 MB, free: 6.059 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [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.003383/0.003383, allocations: 63.91 kB / 0.4936 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3399, allocations: 65.47 MB / 0.5575 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003217/0.3431, allocations: 1.721 MB / 0.5592 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3458, allocations: 1.66 MB / 0.5608 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.3459, allocations: 4 kB / 0.5608 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3462, allocations: 39.78 kB / 0.5609 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.3466, allocations: 103.5 kB / 0.561 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3468, allocations: 83.66 kB / 0.561 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.347, allocations: 103.7 kB / 0.5611 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.3471, allocations: 4 kB / 0.5611 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3472, allocations: 51.77 kB / 0.5612 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3473, allocations: 43.77 kB / 0.5612 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3473, allocations: 4 kB / 0.5612 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3475, allocations: 99.95 kB / 0.5613 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3476, allocations: 23.91 kB / 0.5614 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.3476, allocations: 31.75 kB / 0.5614 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.348, allocations: 170.1 kB / 0.5615 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.348, allocations: 0 / 0.5615 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.348, allocations: 0 / 0.5615 GB, free: 3.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.348, allocations: 0 / 0.5615 GB, free: 3.457 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.0006495/0.3486, allocations: 349.5 kB / 0.5619 GB, free: 3.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3487, allocations: 12.02 kB / 0.5619 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.3487, allocations: 16.78 kB / 0.5619 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.349, allocations: 158 kB / 0.5621 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.349, allocations: 3.938 kB / 0.5621 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.349, allocations: 12 kB / 0.5621 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3492, allocations: 93.09 kB / 0.5622 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3493, allocations: 0 / 0.5622 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3493, allocations: 3.984 kB / 0.5622 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3493, allocations: 0 / 0.5622 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.3494, allocations: 19.98 kB / 0.5622 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.3497, allocations: 236.5 kB / 0.5624 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3499, allocations: 62.66 kB / 0.5625 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.35, allocations: 20.86 kB / 0.5625 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.35, allocations: 0 / 0.5625 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3502, allocations: 75.38 kB / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3502, allocations: 3.938 kB / 0.5626 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.3507, allocations: 173.4 kB / 0.5627 GB, free: 2.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.3508, allocations: 81.11 kB / 0.5628 GB, free: 2.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.351, allocations: 178 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.351, allocations: 29.7 kB / 0.563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.3511, allocations: 96.12 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.3511, allocations: 31.8 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.3512, allocations: 29.7 kB / 0.5632 GB, free: 1.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3513, allocations: 322.8 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.3514, allocations: 20 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3515, allocations: 68.27 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3516, allocations: 61.64 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3516, allocations: 0 / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.3518, allocations: 97.62 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3518, allocations: 8 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3518, allocations: 4.062 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3519, allocations: 0 / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.352, allocations: 19.92 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.352, allocations: 0 / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.352, allocations: 15.88 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.352, allocations: 4 kB / 0.5637 GB, free: 0.9883 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.0001047/0.3521, allocations: 117.8 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3522, allocations: 15.94 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3524, allocations: 118.3 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3524, allocations: 4 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3524, allocations: 0 / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3525, allocations: 3.938 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3529, allocations: 350.9 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3529, allocations: 0 / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.353, allocations: 8 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.353, allocations: 4 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.353, allocations: 3.938 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.353, allocations: 4.219 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.353, allocations: 4.656 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3533, allocations: 220.2 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3533, allocations: 15.91 kB / 0.5646 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.3534, allocations: 11.94 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3535, allocations: 3.984 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3536, allocations: 15.92 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3536, allocations: 4 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3537, allocations: 127.3 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3537, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.354, allocations: 47.86 kB / 0.5648 GB, free: 15.85 MB / 414.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.002212/0.3562, allocations: 0.573 MB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3565, allocations: 67.89 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3565, allocations: 0 / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.3566, allocations: 24.09 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3569, allocations: 44.17 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.3575, allocations: 206.7 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3576, allocations: 85.31 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.3577, allocations: 12.98 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.3577, allocations: 23.42 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3577, allocations: 4 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006558/0.3643, allocations: 2.534 MB / 0.5683 GB, free: 12.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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: 5.471897618845105]