Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.00138/0.00138, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001671/0.001671, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.468/1.468, 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.2436/0.2436, allocations: 46.97 MB / 361.6 MB, free: 4.02 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4283, allocations: 66.03 MB / 0.5619 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003852/0.4322, allocations: 1.713 MB / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.4342, allocations: 0.9715 MB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.4343, allocations: 4 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.4347, allocations: 51.77 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.4351, allocations: 95.55 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.4353, allocations: 79.72 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.4355, allocations: 107.6 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.4357, allocations: 8 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.4358, allocations: 47.77 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.4359, allocations: 31.8 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.4359, allocations: 8 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.436, allocations: 43.97 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.4361, allocations: 23.92 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.4362, allocations: 35.67 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.4364, allocations: 129.9 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4364, allocations: 3.938 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4364, allocations: 0 / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4365, allocations: 0 / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007507/0.4372, allocations: 361.4 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4373, allocations: 12.02 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.4373, allocations: 16.89 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4377, allocations: 151.1 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4377, allocations: 4.375 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.4377, allocations: 8.125 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4379, allocations: 61.59 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4379, allocations: 0 / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4379, allocations: 0 / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4379, allocations: 4 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.438, allocations: 15.98 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.4385, allocations: 244.5 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.4387, allocations: 66.61 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.4388, allocations: 20.84 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4388, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.439, allocations: 71.39 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.439, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007038/0.4397, allocations: 185.3 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.4398, allocations: 63.33 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.4401, allocations: 242.9 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4401, allocations: 29.7 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4402, allocations: 116.1 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.4403, allocations: 23.8 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.4403, allocations: 25.7 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4405, allocations: 330.8 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.4406, allocations: 27.92 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.4406, allocations: 37.7 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4408, allocations: 61.7 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4408, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.441, allocations: 109.5 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.441, allocations: 4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.441, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.441, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4411, allocations: 15.98 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4411, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.4412, allocations: 8 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4412, allocations: 0 / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001669/0.4414, allocations: 141.7 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.4414, allocations: 15.94 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.4417, allocations: 127 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4417, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4417, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4417, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.4422, allocations: 354.9 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4422, allocations: 4 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.4422, allocations: 12 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4422, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4423, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4423, allocations: 8.312 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4423, allocations: 7.922 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4426, allocations: 216.5 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.4426, allocations: 11.91 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4426, allocations: 4 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.4427, allocations: 11.98 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4427, allocations: 7.938 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.4428, allocations: 7.984 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.4429, allocations: 175.2 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4432, allocations: 31.92 kB / 0.5684 GB, free: 13.09 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002018/0.4452, allocations: 498.4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.4455, allocations: 59.91 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4455, allocations: 4 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.4455, allocations: 27.98 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.4459, allocations: 39.5 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.4466, allocations: 275.1 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4467, allocations: 100.7 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.4467, allocations: 17.09 kB / 0.5694 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.4468, allocations: 15.44 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4468, allocations: 0 / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005571/0.4524, allocations: 1.958 MB / 0.5713 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.385830040002475]