Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001947/0.001947, 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.002033/0.002033, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.231/0.231, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [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.002089/0.002089, allocations: 71.89 kB / 0.4936 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 65.48 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004251/0.3451, allocations: 1.71 MB / 0.5592 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3473, allocations: 0.9715 MB / 0.5601 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.3474, allocations: 0 / 0.5601 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.3477, allocations: 43.77 kB / 0.5602 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.3481, allocations: 99.55 kB / 0.5603 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.3483, allocations: 75.67 kB / 0.5603 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3486, allocations: 111.7 kB / 0.5605 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3487, allocations: 4 kB / 0.5605 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3488, allocations: 39.8 kB / 0.5605 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3489, allocations: 31.83 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3489, allocations: 8 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.349, allocations: 47.92 kB / 0.5606 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.3491, allocations: 15.92 kB / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.3492, allocations: 27.8 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3494, allocations: 121.9 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3495, allocations: 4 kB / 0.5607 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3495, allocations: 0 / 0.5607 GB, free: 4.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.3495, allocations: 0 / 0.5607 GB, free: 4.16 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.0006897/0.3502, allocations: 341.6 kB / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3502, allocations: 15.97 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.3503, allocations: 12.84 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.3506, allocations: 146.4 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3506, allocations: 384 / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.3507, allocations: 12.11 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3508, allocations: 57.67 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3509, allocations: 4 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3509, allocations: 0 / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3509, allocations: 0 / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.351, allocations: 23.98 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.3514, allocations: 236.5 kB / 0.5616 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3516, allocations: 58.67 kB / 0.5616 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.805e-05/0.3517, allocations: 16.86 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3517, allocations: 0 / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.3519, allocations: 79.31 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3519, allocations: 0 / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.3525, allocations: 177.4 kB / 0.5619 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.3525, allocations: 55.34 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.3528, allocations: 187.2 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3528, allocations: 29.7 kB / 0.5621 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.3529, allocations: 104.1 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.3529, allocations: 23.84 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3529, allocations: 25.66 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3531, allocations: 326.8 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.3532, allocations: 23.98 kB / 0.5626 GB, free: 2.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.3532, allocations: 37.7 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3534, allocations: 65.64 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3534, allocations: 0 / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.3536, allocations: 105.6 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3536, allocations: 4 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3536, allocations: 0 / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3536, allocations: 7.938 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.3537, allocations: 23.97 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3537, allocations: 3.984 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.3538, allocations: 4 kB / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3538, allocations: 0 / 0.5629 GB, free: 1.809 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.0001283/0.3539, allocations: 128.5 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3539, allocations: 11.95 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.3542, allocations: 126.9 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3542, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3542, allocations: 384 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3542, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3547, allocations: 354.9 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.3547, allocations: 7.984 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.3547, allocations: 8 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3547, allocations: 0 / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3548, allocations: 4 kB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3548, allocations: 0 / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3548, allocations: 7.875 kB / 0.5635 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.355, allocations: 224.5 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.3551, allocations: 7.953 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3551, allocations: 7.969 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.3552, allocations: 4 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3552, allocations: 15.92 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3552, allocations: 4 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3554, allocations: 142 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3556, allocations: 20 kB / 0.5639 GB, free: 0.6758 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.001862/0.3575, allocations: 0.4904 MB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3577, allocations: 59.91 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3577, allocations: 0 / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.3578, allocations: 31.92 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3581, allocations: 23.97 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.3586, allocations: 235.4 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3587, allocations: 88.19 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.3588, allocations: 12.97 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.3588, allocations: 15.44 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3588, allocations: 0 / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Templates: time 0.005299/0.3641, allocations: 1.926 MB / 0.5667 GB, free: 13.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.182418644428253]