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.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.0007558/0.0007558, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001925, 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.0006692/0.0006692, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001696, 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.9118/0.9118, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1742/1.086, allocations: 52.49 MB / 238.5 MB, free: 7.613 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.1383/0.1383, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02339/0.1617, 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 286 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.127e-05, allocations: 6.25 kB / 286 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002578/0.002599, allocations: 1.95 MB / 287.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.003942, allocations: 0.9933 MB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004044, allocations: 3.938 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.004432, allocations: 303 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.004737, allocations: 207.3 kB / 289.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.005169, allocations: 187.3 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.005512, allocations: 255.3 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.005625, allocations: 22.39 kB / 289.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.005873, allocations: 200.3 kB / 290.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.006053, allocations: 143.7 kB / 290.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.006078, allocations: 8 kB / 290.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.006203, allocations: 63.86 kB / 290.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.006274, allocations: 67.72 kB / 290.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.006318, allocations: 31.88 kB / 290.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.00656, allocations: 191.2 kB / 290.6 MB, free: 3.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.006573, allocations: 0 / 290.6 MB, free: 3.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006575, allocations: 4 kB / 290.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.006585, allocations: 0 / 290.6 MB, free: 3.684 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005831/0.007168, allocations: 0.5141 MB / 291.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.007201, allocations: 12.03 kB / 291.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.007244, allocations: 20.91 kB / 291.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.007454, allocations: 213.8 kB / 291.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.007472, allocations: 8.312 kB / 291.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.007497, allocations: 8.375 kB / 291.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.007658, allocations: 111.3 kB / 291.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.007671, allocations: 15.88 kB / 291.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.007684, allocations: 8 kB / 291.5 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.007689, allocations: 0 / 291.5 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.007731, allocations: 25.64 kB / 291.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.008074, allocations: 304.8 kB / 291.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.008313, allocations: 182.8 kB / 292 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.008352, allocations: 29.64 kB / 292 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.008367, allocations: 0 / 292 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.008525, allocations: 115.9 kB / 292.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 7.92e-07/0.008526, allocations: 0 / 292.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006588/0.009185, allocations: 331.2 kB / 292.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.009225, allocations: 85.11 kB / 292.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.009439, allocations: 345.1 kB / 292.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.00946, allocations: 29.7 kB / 292.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.009514, allocations: 125.5 kB / 293 MB, free: 1.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.009564, allocations: 75.42 kB / 293.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.009607, allocations: 37.69 kB / 293.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.0097, allocations: 354.7 kB / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.009734, allocations: 26.81 kB / 293.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.009779, allocations: 58.41 kB / 293.5 MB, free: 496 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.00987, allocations: 105 kB / 293.6 MB, free: 376 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.009872, allocations: 0 / 293.6 MB, free: 376 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001482/0.01002, allocations: 139.2 kB / 293.8 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01004, allocations: 8 kB / 293.8 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.01004, allocations: 0 / 293.8 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01006, allocations: 4 kB / 293.8 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01016, allocations: 51.91 kB / 293.8 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01017, allocations: 0 / 293.8 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.01022, allocations: 11.94 kB / 293.8 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01022, allocations: 4.938 kB / 293.9 MB, free: 148 kB / 282.7 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 9.176e-05/0.01032, allocations: 128.7 kB / 294 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.01036, allocations: 28.08 kB / 294 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.01057, allocations: 164.5 kB / 294.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01057, allocations: 4 kB / 294.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01058, allocations: 4 kB / 294.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01058, allocations: 0 / 294.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.01102, allocations: 0.5632 MB / 294.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01102, allocations: 4 kB / 294.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.01108, allocations: 39.97 kB / 294.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.01111, allocations: 35.7 kB / 294.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01112, allocations: 4.125 kB / 294.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.01112, allocations: 4 kB / 294.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.01113, allocations: 7.938 kB / 294.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01113, allocations: 0 / 294.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.01134, allocations: 416.6 kB / 295.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01137, allocations: 11.94 kB / 295.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.01145, allocations: 11.98 kB / 295.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.01149, allocations: 19.97 kB / 295.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.0115, allocations: 7.938 kB / 295.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01161, allocations: 155.6 kB / 295.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01161, allocations: 4 kB / 295.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01182, allocations: 51.92 kB / 295.5 MB, free: 14.41 MB / 298.7 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.001596/0.01342, allocations: 0.7227 MB / 296.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.01358, allocations: 102.4 kB / 296.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.01359, allocations: 4 kB / 296.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.01366, allocations: 76.83 kB / 296.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.01405, allocations: 376.7 kB / 296.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.01474, allocations: 0.4948 MB / 297.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.01481, allocations: 108.3 kB / 297.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.01488, allocations: 33.92 kB / 297.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01498, allocations: 95.34 kB / 297.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.011e-06/0.01498, allocations: 4 kB / 297.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Templates: time 0.005542/0.02052, allocations: 3.661 MB / 301.2 MB, free: 9.059 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] 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","",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.0053856056183577]