Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.00212/0.00212, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002415/0.002415, allocations: 215.7 kB / 23.73 MB, free: 4.164 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2753/0.2753, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [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.002137/0.002137, allocations: 59.91 kB / 0.4936 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 65.49 MB / 0.5575 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003579/0.3474, allocations: 1.86 MB / 0.5593 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3494, allocations: 1.081 MB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.3495, allocations: 4 kB / 0.5604 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.35, allocations: 251.3 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.3506, allocations: 239.2 kB / 0.5609 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3509, allocations: 115.6 kB / 0.561 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.3512, allocations: 279.2 kB / 0.5613 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3514, allocations: 17.95 kB / 0.5613 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3516, allocations: 135.5 kB / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3518, allocations: 203.4 kB / 0.5616 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.3519, allocations: 8 kB / 0.5616 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.352, allocations: 63.98 kB / 0.5617 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3521, allocations: 75.73 kB / 0.5617 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.3522, allocations: 67.38 kB / 0.5618 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.3526, allocations: 265.1 kB / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3526, allocations: 0 / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3526, allocations: 0 / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3526, allocations: 0 / 0.5621 GB, free: 2.785 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008568/0.3534, allocations: 0.5291 MB / 0.5626 GB, free: 2.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3535, allocations: 8.031 kB / 0.5626 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.3536, allocations: 32.75 kB / 0.5626 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.354, allocations: 228.9 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.354, allocations: 8.359 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3541, allocations: 12.12 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3543, allocations: 115.3 kB / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3543, allocations: 0 / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3544, allocations: 3.938 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3544, allocations: 4 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3545, allocations: 47.95 kB / 0.563 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.3552, allocations: 424.4 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3556, allocations: 129.2 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3557, allocations: 41.83 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3557, allocations: 3.984 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.3559, allocations: 129 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3559, allocations: 0 / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00138/0.3573, allocations: 0.5287 MB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.3574, allocations: 81.05 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.358, allocations: 0.5016 MB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.358, allocations: 33.7 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.3582, allocations: 176.5 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.3583, allocations: 75.33 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.3583, allocations: 41.72 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3585, allocations: 346.8 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3587, allocations: 55.97 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3588, allocations: 103.3 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3591, allocations: 167.5 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3591, allocations: 0 / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004428/0.3596, allocations: 237.2 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3596, allocations: 8 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3596, allocations: 7.922 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3596, allocations: 8.062 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3598, allocations: 43.92 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3598, allocations: 4 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.3599, allocations: 4 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3599, allocations: 15.98 kB / 0.5661 GB, free: 14.45 MB / 414.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001655/0.3601, allocations: 166.3 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3601, allocations: 39.7 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.3607, allocations: 288.6 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3607, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3607, allocations: 8 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3607, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.3617, allocations: 0.6839 MB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3617, allocations: 4 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.3618, allocations: 39.92 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3618, allocations: 4 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3618, allocations: 4 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3618, allocations: 4.359 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3618, allocations: 4.188 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.3623, allocations: 459.2 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3624, allocations: 27.81 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.3624, allocations: 8 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3626, allocations: 11.98 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.3626, allocations: 23.91 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3627, allocations: 12 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.3631, allocations: 375.1 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3631, allocations: 0 / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.3634, allocations: 59.92 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002133/0.3656, allocations: 0.5582 MB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3659, allocations: 155.8 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3659, allocations: 0 / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3661, allocations: 76.22 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.3667, allocations: 76.48 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3677, allocations: 0.6055 MB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.368, allocations: 178.4 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3681, allocations: 41.91 kB / 0.5698 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.3682, allocations: 39.42 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3682, allocations: 0 / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of Templates: time 0.008265/0.3764, allocations: 3.574 MB / 0.5734 GB, free: 7.113 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.462143789976835]