Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.002/0.002, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001697/0.001697, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.539/1.539, 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.2306/0.2306, allocations: 44.94 MB / 358.8 MB, free: 6.031 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [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.002159/0.002159, allocations: 75.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 65.48 MB / 0.5575 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003288/0.3458, allocations: 1.601 MB / 0.559 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3469, allocations: 0.5193 MB / 0.5596 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.3469, allocations: 0 / 0.5596 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3472, allocations: 103.7 kB / 0.5597 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.3475, allocations: 111.6 kB / 0.5598 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.3478, allocations: 91.75 kB / 0.5598 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3479, allocations: 79.83 kB / 0.5599 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.348, allocations: 22.64 kB / 0.5599 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.3481, allocations: 35.84 kB / 0.56 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3482, allocations: 59.75 kB / 0.56 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3482, allocations: 4 kB / 0.56 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.3483, allocations: 47.98 kB / 0.5601 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.3484, allocations: 23.91 kB / 0.5601 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.3484, allocations: 27.73 kB / 0.5601 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3486, allocations: 103.6 kB / 0.5602 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3486, allocations: 0 / 0.5602 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3486, allocations: 11.94 kB / 0.5602 GB, free: 4.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3486, allocations: 0 / 0.5602 GB, free: 4.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005431/0.3492, allocations: 349.5 kB / 0.5606 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3492, allocations: 12.03 kB / 0.5606 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3492, allocations: 12.84 kB / 0.5606 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3494, allocations: 142.9 kB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3494, allocations: 8.359 kB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3495, allocations: 4.328 kB / 0.5607 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3496, allocations: 65.8 kB / 0.5608 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3496, allocations: 0 / 0.5608 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3496, allocations: 4 kB / 0.5608 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3496, allocations: 0 / 0.5608 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/0.3497, allocations: 27.92 kB / 0.5608 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3501, allocations: 236.5 kB / 0.5611 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3502, allocations: 38.56 kB / 0.5611 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3503, allocations: 16.94 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3503, allocations: 4 kB / 0.5611 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3503, allocations: 42.44 kB / 0.5612 GB, free: 3.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3503, allocations: 0 / 0.5612 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008756/0.3512, allocations: 233.2 kB / 0.5614 GB, free: 3.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.3513, allocations: 55.41 kB / 0.5614 GB, free: 3.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3515, allocations: 230.7 kB / 0.5617 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.3515, allocations: 29.7 kB / 0.5617 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.3516, allocations: 104.1 kB / 0.5618 GB, free: 3.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.3516, allocations: 35.73 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3517, allocations: 17.72 kB / 0.5618 GB, free: 2.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3519, allocations: 338.8 kB / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.3519, allocations: 23.97 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.352, allocations: 23.98 kB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3522, allocations: 56.83 kB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3522, allocations: 7.938 kB / 0.5623 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00022/0.3524, allocations: 105.6 kB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3524, allocations: 8 kB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3524, allocations: 0 / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3524, allocations: 0 / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3525, allocations: 15.98 kB / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3525, allocations: 0 / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.3526, allocations: 11.98 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3526, allocations: 7.938 kB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001174/0.3527, allocations: 129.8 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3528, allocations: 11.95 kB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.353, allocations: 127.3 kB / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.353, allocations: 0 / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3531, allocations: 0 / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3531, allocations: 0 / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.3536, allocations: 347.3 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3536, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.3537, allocations: 24.02 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3537, allocations: 0 / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3537, allocations: 4 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3537, allocations: 11.88 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3537, allocations: 0 / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.354, allocations: 204.3 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.354, allocations: 7.953 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.354, allocations: 8 kB / 0.5632 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.3541, allocations: 7.922 kB / 0.5633 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3541, allocations: 11.94 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3541, allocations: 7.984 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3543, allocations: 176.3 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 3.938 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3545, allocations: 19.89 kB / 0.5635 GB, free: 1.219 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001868/0.3564, allocations: 0.4918 MB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3566, allocations: 59.97 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3566, allocations: 0 / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.3567, allocations: 31.92 kB / 0.564 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3571, allocations: 30.55 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.3577, allocations: 278.9 kB / 0.5643 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3578, allocations: 96.73 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.3578, allocations: 12.97 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3579, allocations: 15.42 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3579, allocations: 7.938 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of Templates: time 0.004546/0.3624, allocations: 1.416 MB / 0.5658 GB, free: 14.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.351698784157634]