Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009756/0.0009756, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009914/0.0009914, allocations: 171 kB / 25.61 MB, free: 8.895 MB / 18.57 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 0.9567/0.9567, allocations: 177.2 MB / 206.1 MB, free: 4.441 MB / 186.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.1561/0.1561, allocations: 34.26 MB / 296.9 MB, free: 13.91 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.359e-05, allocations: 6.25 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00249/0.002514, allocations: 2.222 MB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.004008, allocations: 1.286 MB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.004128, allocations: 7.938 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.004465, allocations: 123.3 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.004841, allocations: 258.8 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.005089, allocations: 199.3 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.005396, allocations: 470.5 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.005512, allocations: 41.27 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.00578, allocations: 347.2 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005895, allocations: 135.5 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.005923, allocations: 19.94 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.006022, allocations: 79.91 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.00611, allocations: 143.5 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.006172, allocations: 95.52 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.006425, allocations: 338.5 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006427, allocations: 0 / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006428, allocations: 4 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.006433, allocations: 0 / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005805/0.007014, allocations: 0.8875 MB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.007045, allocations: 12.03 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.00711, allocations: 68.52 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.007352, allocations: 353.2 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.007374, allocations: 8.375 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.007398, allocations: 16.38 kB / 386.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.007575, allocations: 185.5 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.007588, allocations: 7.891 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.007599, allocations: 4 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.007607, allocations: 4 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.007673, allocations: 59.84 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.008109, allocations: 0.8405 MB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.008368, allocations: 232.3 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.00842, allocations: 70.83 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.008434, allocations: 4 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.008583, allocations: 185.2 kB / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.008585, allocations: 0 / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009471/0.009532, allocations: 0.7057 MB / 388.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.009565, allocations: 136.5 kB / 388.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.009856, allocations: 0.636 MB / 389.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.009876, allocations: 41.7 kB / 389.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.009977, allocations: 311.6 kB / 389.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.01004, allocations: 150.8 kB / 390 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.0101, allocations: 83.81 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.01018, allocations: 0.5624 MB / 390.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.01023, allocations: 56.89 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.01031, allocations: 142.4 kB / 390.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.01046, allocations: 229.6 kB / 391.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01046, allocations: 7.938 kB / 391.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002675/0.01073, allocations: 344.8 kB / 391.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01074, allocations: 4 kB / 391.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01075, allocations: 4 kB / 391.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.01076, allocations: 4 kB / 391.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.0109, allocations: 87.89 kB / 391.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.0109, allocations: 8.062 kB / 391.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.01098, allocations: 27.94 kB / 391.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.011, allocations: 12 kB / 391.6 MB, free: 10.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.036e-05/0.01109, allocations: 186.9 kB / 391.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.01114, allocations: 83.56 kB / 391.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.0115, allocations: 415.1 kB / 392.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01151, allocations: 4 kB / 392.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.01151, allocations: 0 / 392.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01151, allocations: 4 kB / 392.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.01222, allocations: 1.285 MB / 393.5 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01222, allocations: 4 kB / 393.5 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.01231, allocations: 63.91 kB / 393.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.01232, allocations: 7.938 kB / 393.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.01234, allocations: 23.97 kB / 393.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01234, allocations: 12.19 kB / 393.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01234, allocations: 4 kB / 393.6 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.01271, allocations: 0.934 MB / 394.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.0128, allocations: 99.39 kB / 394.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.01284, allocations: 19.98 kB / 394.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01299, allocations: 19.98 kB / 394.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.01304, allocations: 43.88 kB / 394.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.01306, allocations: 16 kB / 394.8 MB, free: 7.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.01322, allocations: 410.8 kB / 395.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 4 kB / 395.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.01356, allocations: 95.92 kB / 395.3 MB, free: 6.867 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001101/0.01466, allocations: 0.4892 MB / 395.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.01489, allocations: 227.7 kB / 396 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01489, allocations: 0 / 396 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.01499, allocations: 132.3 kB / 396.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.01555, allocations: 144.2 kB / 396.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.01632, allocations: 0.9391 MB / 397.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.0164, allocations: 146.2 kB / 397.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.01651, allocations: 75.25 kB / 397.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.01667, allocations: 170.1 kB / 397.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01667, allocations: 0 / 397.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of Templates: time 0.008665/0.02534, allocations: 6.462 MB / 404 MB, free: 14.31 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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: 3.304322835057974]