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.001777/0.001777, allocations: 111 kB / 21.19 MB, free: 0.4961 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.002111/0.002111, allocations: 214.8 kB / 24.48 MB, free: 3.809 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.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2503/0.2503, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.001974/0.001974, allocations: 67.89 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4204, allocations: 66.04 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004403/0.4248, allocations: 2.169 MB / 0.564 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.4274, allocations: 1.264 MB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.4275, allocations: 7.938 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.428, allocations: 119.4 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006328/0.4286, allocations: 254.8 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.4291, allocations: 191.5 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006152/0.4297, allocations: 470.6 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.4299, allocations: 44.91 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.4303, allocations: 299.1 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.4305, allocations: 171.1 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.4306, allocations: 20 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.4308, allocations: 75.97 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.4309, allocations: 131.5 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.4311, allocations: 138.8 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.4316, allocations: 460.4 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4316, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4316, allocations: 4 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4317, allocations: 0 / 0.5675 GB, free: 14.34 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.001257/0.4329, allocations: 0.7605 MB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.433, allocations: 8.031 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.4331, allocations: 72.45 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.4337, allocations: 343.3 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4337, allocations: 16.31 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.4338, allocations: 20.08 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.4342, allocations: 201.5 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4343, allocations: 3.984 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.4343, allocations: 8 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.4343, allocations: 4 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.4346, allocations: 103.8 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4356, allocations: 0.7154 MB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.4363, allocations: 250.4 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.4366, allocations: 87.52 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4366, allocations: 4 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.437, allocations: 208.4 kB / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.437, allocations: 0 / 0.5702 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002728/0.4397, allocations: 1.171 MB / 0.5714 GB, free: 10.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4398, allocations: 136.5 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.4408, allocations: 0.8126 MB / 0.5723 GB, free: 9.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.4409, allocations: 37.7 kB / 0.5723 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.4411, allocations: 245 kB / 0.5726 GB, free: 8.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4412, allocations: 146.8 kB / 0.5727 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.4414, allocations: 86.08 kB / 0.5728 GB, free: 8.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4416, allocations: 382.7 kB / 0.5732 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.4418, allocations: 112.8 kB / 0.5733 GB, free: 8.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.4422, allocations: 191.1 kB / 0.5735 GB, free: 7.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.4427, allocations: 330.7 kB / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4427, allocations: 0 / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008066/0.4435, allocations: 444.9 kB / 0.5742 GB, free: 7.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4436, allocations: 11.98 kB / 0.5742 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4436, allocations: 0 / 0.5742 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4436, allocations: 4 kB / 0.5742 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.4439, allocations: 87.84 kB / 0.5743 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.4439, allocations: 8.109 kB / 0.5743 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.444, allocations: 16 kB / 0.5743 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.4441, allocations: 27.92 kB / 0.5743 GB, free: 7.035 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.0002814/0.4444, allocations: 248 kB / 0.5746 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4445, allocations: 71.53 kB / 0.5746 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4456, allocations: 0.5149 MB / 0.5751 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4456, allocations: 4 kB / 0.5752 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4456, allocations: 0 / 0.5752 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.4456, allocations: 11.98 kB / 0.5752 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.4474, allocations: 1.248 MB / 0.5764 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4474, allocations: 4 kB / 0.5764 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4476, allocations: 63.91 kB / 0.5764 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4476, allocations: 8 kB / 0.5765 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.4477, allocations: 20.23 kB / 0.5765 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.4477, allocations: 8 kB / 0.5765 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4477, allocations: 7.938 kB / 0.5765 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4487, allocations: 0.8279 MB / 0.5773 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.4489, allocations: 103.5 kB / 0.5774 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.449, allocations: 19.98 kB / 0.5774 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.4493, allocations: 12 kB / 0.5774 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4494, allocations: 47.86 kB / 0.5775 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.4494, allocations: 24 kB / 0.5775 GB, free: 3.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000741/0.4502, allocations: 0.597 MB / 0.5781 GB, free: 3.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4502, allocations: 0 / 0.5781 GB, free: 3.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005801/0.4508, allocations: 95.92 kB / 0.5782 GB, free: 2.98 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.002273/0.453, allocations: 0.5647 MB / 0.5787 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.4539, allocations: 318.7 kB / 0.579 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4539, allocations: 0 / 0.579 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4542, allocations: 163.7 kB / 0.5792 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000974/0.4552, allocations: 126 kB / 0.5793 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.457, allocations: 1.078 MB / 0.5804 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.4573, allocations: 297 kB / 0.5806 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.4575, allocations: 79.23 kB / 0.5807 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4576, allocations: 51.42 kB / 0.5808 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4576, allocations: 0 / 0.5808 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of Templates: time 0.01312/0.4707, allocations: 6.288 MB / 0.5869 GB, free: 10.3 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 -s cvode -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: 5.537091367994435]