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.001373/0.001373, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.001781/0.001781, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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.2501/0.2501, allocations: 46.96 MB / 361.6 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 179] 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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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 0.002082/0.002082, allocations: 67.89 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 66.03 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.0039/0.3698, allocations: 2.17 MB / 0.564 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.3723, allocations: 1.271 MB / 0.5653 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3725, allocations: 3.938 kB / 0.5653 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.3729, allocations: 123.3 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.3735, allocations: 246.9 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.3739, allocations: 195.5 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.3745, allocations: 466.7 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3746, allocations: 48.91 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.375, allocations: 303 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3752, allocations: 159.1 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.3753, allocations: 16 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3754, allocations: 75.84 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3756, allocations: 131.5 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3757, allocations: 142.8 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.3763, allocations: 456.4 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3763, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3763, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3763, allocations: 4 kB / 0.5675 GB, free: 14.39 MB / 414.1 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.00118/0.3775, allocations: 0.7682 MB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3775, allocations: 8.031 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3776, allocations: 64.52 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.3782, allocations: 343.3 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3782, allocations: 8.375 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.3783, allocations: 28.02 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.3787, allocations: 197.5 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3787, allocations: 3.984 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3788, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3788, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.379, allocations: 107.8 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.38, allocations: 0.7193 MB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.3807, allocations: 254.4 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3809, allocations: 87.52 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3809, allocations: 4 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.3813, allocations: 200.2 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.3813, allocations: 0 / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002637/0.3839, allocations: 1.175 MB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.384, allocations: 132.5 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.385, allocations: 0.8126 MB / 0.5723 GB, free: 9.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.3851, allocations: 41.7 kB / 0.5723 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3853, allocations: 245 kB / 0.5726 GB, free: 8.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3854, allocations: 146.8 kB / 0.5727 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3855, allocations: 86.08 kB / 0.5728 GB, free: 8.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3857, allocations: 378.7 kB / 0.5731 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.386, allocations: 112.8 kB / 0.5733 GB, free: 8.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.3863, allocations: 195 kB / 0.5734 GB, free: 8.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3869, allocations: 326.8 kB / 0.5738 GB, free: 7.688 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3869, allocations: 4 kB / 0.5738 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008223/0.3877, allocations: 444.9 kB / 0.5742 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3877, allocations: 7.984 kB / 0.5742 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3877, allocations: 4 kB / 0.5742 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3877, allocations: 7.938 kB / 0.5742 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.388, allocations: 87.84 kB / 0.5743 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.388, allocations: 8.109 kB / 0.5743 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3882, allocations: 16 kB / 0.5743 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3882, allocations: 23.92 kB / 0.5743 GB, free: 7.09 MB / 414.1 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 0.0002775/0.3885, allocations: 244 kB / 0.5746 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.3886, allocations: 71.53 kB / 0.5746 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.3896, allocations: 0.5152 MB / 0.5751 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.3896, allocations: 8 kB / 0.5751 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3896, allocations: 7.938 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3896, allocations: 7.984 kB / 0.5752 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3915, allocations: 1.24 MB / 0.5764 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3915, allocations: 4 kB / 0.5764 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3917, allocations: 67.91 kB / 0.5764 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3917, allocations: 4 kB / 0.5764 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.3917, allocations: 20.23 kB / 0.5765 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3917, allocations: 8 kB / 0.5765 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3917, allocations: 3.938 kB / 0.5765 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3927, allocations: 0.8321 MB / 0.5773 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.3929, allocations: 103.5 kB / 0.5774 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.393, allocations: 19.98 kB / 0.5774 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3933, allocations: 15.98 kB / 0.5774 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.3934, allocations: 47.88 kB / 0.5775 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.3934, allocations: 23.94 kB / 0.5775 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007173/0.3941, allocations: 0.5928 MB / 0.5781 GB, free: 3.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 4 kB / 0.5781 GB, free: 3.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.3947, allocations: 91.92 kB / 0.5782 GB, free: 3.039 MB / 414.1 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.002164/0.3968, allocations: 0.5736 MB / 0.5787 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007273/0.3976, allocations: 314.8 kB / 0.579 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3976, allocations: 0 / 0.579 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.3979, allocations: 163.7 kB / 0.5792 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.3989, allocations: 127.6 kB / 0.5793 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4009, allocations: 1.122 MB / 0.5804 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4012, allocations: 297 kB / 0.5807 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4013, allocations: 59.41 kB / 0.5807 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4013, allocations: 0 / 0.5807 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of Templates: time 0.0108/0.4121, allocations: 6.698 MB / 0.5873 GB, free: 9.891 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 8.816556028090417]