Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001076/0.001076, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.002935, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001166/0.001166, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001653/0.00282, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09881/1.111, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2946/0.2946, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02846/0.3231, allocations: 13.09 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.167e-05, allocations: 3.844 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002151/0.002173, allocations: 1.819 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003448, allocations: 1.014 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.003524, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.003703, allocations: 35.7 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.003927, allocations: 99.47 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.004095, allocations: 79.66 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004257, allocations: 107.7 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.004335, allocations: 11.92 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.004455, allocations: 75.81 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.004551, allocations: 27.91 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004568, allocations: 7.938 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.004666, allocations: 51.91 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.004708, allocations: 11.94 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.004745, allocations: 15.94 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.00491, allocations: 91.67 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.004925, allocations: 0 / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004925, allocations: 4 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.004943, allocations: 4 kB / 296.2 MB, free: 2.758 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.0004889/0.005432, allocations: 329 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.005464, allocations: 15.97 kB / 296.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.005497, allocations: 8.922 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.005649, allocations: 150.2 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.005665, allocations: 384 / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.005681, allocations: 384 / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005789, allocations: 65.77 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005798, allocations: 3.938 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.005805, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005809, allocations: 0 / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.005835, allocations: 11.98 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.006059, allocations: 173.9 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.006155, allocations: 85.3 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.006175, allocations: 12.86 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.006187, allocations: 0 / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.00629, allocations: 70.11 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006291, allocations: 0 / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002978/0.006589, allocations: 113.6 kB / 297.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.006621, allocations: 55.34 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006728, allocations: 169 kB / 297.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.006743, allocations: 29.7 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.006779, allocations: 92.11 kB / 297.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.006809, allocations: 31.73 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.006842, allocations: 21.7 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.00693, allocations: 326.8 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.006948, allocations: 10.83 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.006971, allocations: 21.7 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.007015, allocations: 48.45 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.007016, allocations: 0 / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.205e-05/0.007098, allocations: 76.5 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.007111, allocations: 4 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007116, allocations: 0 / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.007125, allocations: 4 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.007195, allocations: 19.92 kB / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.007199, allocations: 4 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.007225, allocations: 0 / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.007232, allocations: 11.97 kB / 298.1 MB, free: 0.6484 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 6.882e-05/0.0073, allocations: 116.7 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.007312, allocations: 11.94 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.007419, allocations: 79.06 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007421, allocations: 0 / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007423, allocations: 0 / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.007427, allocations: 4 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.007659, allocations: 287.4 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007661, allocations: 0 / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.007693, allocations: 20.02 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.007705, allocations: 7.953 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007707, allocations: 384 / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.007714, allocations: 4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.007717, allocations: 8 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.007719, allocations: 0 / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.007847, allocations: 219 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007865, allocations: 11.98 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.007905, allocations: 0 / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.007932, allocations: 11.97 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.007943, allocations: 4 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.007983, allocations: 52.34 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007984, allocations: 0 / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000142/0.008125, allocations: 23.94 kB / 298.9 MB, free: 15.74 MB / 298.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.001379/0.009504, allocations: 0.6355 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.009601, allocations: 44.72 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.009608, allocations: 0 / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.009641, allocations: 32.97 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.009841, allocations: 44.36 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.0103, allocations: 224 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01034, allocations: 67.47 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.01038, allocations: 12.97 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.01045, allocations: 67.36 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01045, allocations: 0 / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003807/0.01426, allocations: 2.051 MB / 302.1 MB, free: 12.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.906195070594549]