Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002063/0.002943, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002277, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9948/0.9948, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2212/1.216, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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.1568/0.1568, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02237/0.1791, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.654e-05, allocations: 2.312 kB / 285.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002894/0.00292, allocations: 1.783 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.004205, allocations: 0.8843 MB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.004281, allocations: 0 / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.004497, allocations: 43.77 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.004679, allocations: 59.56 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.004978, allocations: 111.5 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.005164, allocations: 95.7 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.00525, allocations: 12.17 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.005387, allocations: 79.75 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.005472, allocations: 19.92 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.005488, allocations: 8 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.005585, allocations: 47.86 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.005634, allocations: 19.92 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.005671, allocations: 15.94 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.005874, allocations: 87.67 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.005885, allocations: 4 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005886, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.005897, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 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.0004992/0.006396, allocations: 327.9 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.006431, allocations: 8.031 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.00647, allocations: 8.922 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.006648, allocations: 156.6 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006667, allocations: 4.375 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.006689, allocations: 4.359 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.006812, allocations: 65.77 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006823, allocations: 3.938 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006833, allocations: 7.984 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006839, allocations: 0 / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.006866, allocations: 8 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.007098, allocations: 166 kB / 289.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.007204, allocations: 89.28 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.007226, allocations: 12.86 kB / 290 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.007238, allocations: 0 / 290 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.007348, allocations: 70.14 kB / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.007349, allocations: 0 / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003332/0.007683, allocations: 109.5 kB / 290.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.007714, allocations: 55.39 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.007828, allocations: 164.3 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.007845, allocations: 29.7 kB / 290.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.007878, allocations: 92.12 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.007907, allocations: 27.78 kB / 290.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.007948, allocations: 25.64 kB / 290.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.008032, allocations: 322.8 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.008056, allocations: 14.81 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.008083, allocations: 21.7 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.008138, allocations: 44.45 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.00814, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.86e-05/0.008238, allocations: 80.44 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008253, allocations: 12.02 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.008257, allocations: 0 / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008269, allocations: 4 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.008346, allocations: 12 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008351, allocations: 7.938 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.008385, allocations: 3.984 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.008393, allocations: 4 kB / 291.1 MB, free: 2.93 MB / 282.7 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 7.139e-05/0.008464, allocations: 112.7 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.008483, allocations: 15.92 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.00862, allocations: 74.39 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008622, allocations: 4 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.008624, allocations: 0 / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.008627, allocations: 4.375 kB / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.008909, allocations: 287.4 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.008912, allocations: 4 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.008955, allocations: 19.98 kB / 291.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.008969, allocations: 11.94 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.008972, allocations: 0 / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008978, allocations: 0 / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.008983, allocations: 4 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008984, allocations: 4.031 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.009113, allocations: 215 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009132, allocations: 4 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.009195, allocations: 4 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.009224, allocations: 7.984 kB / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.009237, allocations: 0 / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.009293, allocations: 49.39 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009293, allocations: 0 / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000216/0.009509, allocations: 27.94 kB / 292 MB, free: 2.031 MB / 282.7 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.001625/0.01113, allocations: 0.6409 MB / 292.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.01126, allocations: 44.81 kB / 292.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.01127, allocations: 8.078 kB / 292.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.01131, allocations: 28.86 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.01161, allocations: 187.2 kB / 292.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.01215, allocations: 227.4 kB / 293.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.0122, allocations: 63.34 kB / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.01224, allocations: 16.48 kB / 293.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.01232, allocations: 71.45 kB / 293.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01232, allocations: 0 / 293.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of Templates: time 0.004395/0.01671, allocations: 2.018 MB / 295.2 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0342500545084476]