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.001529/0.001529, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001686/0.001686, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 8 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.2681/0.2681, allocations: 46.94 MB / 360.8 MB, free: 4.262 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.003471/0.003471, allocations: 72.12 kB / 0.4967 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4329, allocations: 66.03 MB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.005429/0.4384, allocations: 1.753 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.4411, allocations: 1.049 MB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4413, allocations: 3.938 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.4417, allocations: 47.81 kB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.4424, allocations: 103.5 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.4428, allocations: 75.67 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.4431, allocations: 111.7 kB / 0.5643 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.4433, allocations: 8 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.4434, allocations: 39.8 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.4436, allocations: 43.7 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4436, allocations: 4 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.4438, allocations: 39.98 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4439, allocations: 23.92 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.251e-05/0.444, allocations: 35.69 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.4443, allocations: 145.8 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4443, allocations: 0 / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4443, allocations: 0 / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4443, allocations: 0 / 0.5646 GB, free: 0.8984 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.0008461/0.4452, allocations: 361.3 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4452, allocations: 12.03 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.4453, allocations: 8.891 kB / 0.5649 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.4458, allocations: 163.1 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4458, allocations: 8.359 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.4458, allocations: 4.125 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4461, allocations: 57.67 kB / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4461, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.4461, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4461, allocations: 0 / 0.5652 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4462, allocations: 27.86 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.4469, allocations: 263.9 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.4471, allocations: 54.67 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.4472, allocations: 16.86 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4473, allocations: 3.984 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.4476, allocations: 75.31 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 5.36e-06/0.4476, allocations: 7.938 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000901/0.4485, allocations: 177.3 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.4485, allocations: 55.41 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.449, allocations: 239 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.449, allocations: 25.7 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.4492, allocations: 116.1 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.4493, allocations: 19.86 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.4493, allocations: 25.72 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.4496, allocations: 334.8 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.4497, allocations: 16 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.4498, allocations: 37.7 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.45, allocations: 62 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.45, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003486/0.4504, allocations: 105.5 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4504, allocations: 12.02 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4504, allocations: 8 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4504, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4506, allocations: 12 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4506, allocations: 0 / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.4507, allocations: 7.938 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.4507, allocations: 11.98 kB / 0.5668 GB, free: 14.41 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.0001895/0.4509, allocations: 121.8 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.4509, allocations: 11.91 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.4514, allocations: 131.1 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4514, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4514, allocations: 3.984 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4514, allocations: 3.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.4522, allocations: 370.4 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4523, allocations: 0 / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.4524, allocations: 15.92 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4524, allocations: 4.031 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4525, allocations: 7.938 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4525, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4525, allocations: 0 / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.453, allocations: 208.2 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.453, allocations: 11.91 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.4531, allocations: 8.125 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4532, allocations: 7.984 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.4533, allocations: 11.94 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.4533, allocations: 7.984 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002929/0.4536, allocations: 167.2 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4536, allocations: 0 / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000529/0.4541, allocations: 27.98 kB / 0.5679 GB, free: 13.22 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 (8): * Single equations (assignments): 6 * 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.002855/0.457, allocations: 461.5 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.4573, allocations: 51.92 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4573, allocations: 0 / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.4575, allocations: 27.92 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.4581, allocations: 43.97 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.4591, allocations: 263.2 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.4598, allocations: 0.7119 MB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.362e-05/0.4599, allocations: 12.97 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.46, allocations: 27.42 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.46, allocations: 0 / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.009805/0.4698, allocations: 1.788 MB / 0.5712 GB, free: 9.996 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/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.684411368099973]