Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.002065/0.002065, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002555/0.002555, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.271/0.271, allocations: 46.93 MB / 360.9 MB, free: 4.293 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 71.91 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4245, allocations: 66.03 MB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004661/0.4292, allocations: 1.853 MB / 0.563 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.4317, allocations: 1.116 MB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.4319, allocations: 7.938 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.4326, allocations: 307.3 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.4333, allocations: 255.2 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.4337, allocations: 111.6 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.4343, allocations: 271.2 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.4344, allocations: 5.812 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.4347, allocations: 143.5 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.4351, allocations: 215.5 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.4351, allocations: 8 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.4353, allocations: 43.98 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4355, allocations: 147.5 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.4357, allocations: 146.8 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.4364, allocations: 380.6 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4364, allocations: 0 / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4364, allocations: 0 / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4364, allocations: 0 / 0.566 GB, free: 15.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001362/0.4377, allocations: 0.6941 MB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4378, allocations: 8.031 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.4379, allocations: 52.55 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/0.4388, allocations: 402.5 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4389, allocations: 4.375 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4389, allocations: 4.125 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.4391, allocations: 95.3 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4392, allocations: 4 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4392, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4392, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4393, allocations: 31.97 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.4398, allocations: 349.4 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.4401, allocations: 101.2 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4402, allocations: 41.64 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4403, allocations: 0 / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.4405, allocations: 120.9 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4405, allocations: 0 / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006081/0.4411, allocations: 197.2 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4412, allocations: 81.11 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4428, allocations: 1.05 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4429, allocations: 29.7 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.4431, allocations: 240.1 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.4432, allocations: 35.73 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.4433, allocations: 29.7 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.4435, allocations: 370.8 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4436, allocations: 27.98 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.4438, allocations: 55.41 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.444, allocations: 91.86 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.444, allocations: 0 / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004144/0.4444, allocations: 181.1 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4444, allocations: 8 kB / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4444, allocations: 0 / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.4444, allocations: 8.062 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.4446, allocations: 23.98 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4446, allocations: 3.938 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.4448, allocations: 11.94 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4448, allocations: 4 kB / 0.5702 GB, free: 10.87 MB / 414.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002829/0.4451, allocations: 233.6 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.4451, allocations: 51.62 kB / 0.5705 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.4456, allocations: 205.8 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4456, allocations: 0 / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4456, allocations: 0 / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4456, allocations: 3.984 kB / 0.5707 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.446, allocations: 316.5 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.446, allocations: 0 / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.4461, allocations: 12 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4461, allocations: 0 / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4461, allocations: 7.984 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4461, allocations: 4 kB / 0.571 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4461, allocations: 0 / 0.571 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.4465, allocations: 221.7 kB / 0.5712 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4466, allocations: 71.53 kB / 0.5713 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4467, allocations: 0 / 0.5713 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.4468, allocations: 11.98 kB / 0.5713 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.4468, allocations: 11.92 kB / 0.5713 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4468, allocations: 4 kB / 0.5713 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.4478, allocations: 0.7917 MB / 0.5721 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4478, allocations: 0 / 0.5721 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.4481, allocations: 40 kB / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00168/0.4498, allocations: 411.5 kB / 0.5725 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.4501, allocations: 76.03 kB / 0.5726 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4501, allocations: 0 / 0.5726 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4502, allocations: 44.23 kB / 0.5726 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.4508, allocations: 83.12 kB / 0.5727 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.4523, allocations: 0.8971 MB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.453, allocations: 0.8507 MB / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.4531, allocations: 54.95 kB / 0.5745 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.4532, allocations: 35.42 kB / 0.5745 GB, free: 6.488 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4532, allocations: 0 / 0.5745 GB, free: 6.488 MB / 414.1 MB Notification: Performance of Templates: time 0.01034/0.4635, allocations: 3.898 MB / 0.5783 GB, free: 2.613 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.761945134960115]