Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001411/0.001411, 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.001809/0.001809, allocations: 213.4 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.582/1.582, 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.2423/0.2423, allocations: 46.93 MB / 360.8 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4629, allocations: 66.02 MB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00381/0.4667, allocations: 1.751 MB / 0.5629 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4687, allocations: 1.045 MB / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.4687, allocations: 0 / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.4691, allocations: 63.69 kB / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.4695, allocations: 95.61 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.4697, allocations: 83.66 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.4699, allocations: 99.69 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.47, allocations: 15.98 kB / 0.5643 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4701, allocations: 55.66 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.4702, allocations: 27.86 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.4703, allocations: 4 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4704, allocations: 43.97 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.4705, allocations: 31.8 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.4705, allocations: 43.67 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.4708, allocations: 137.8 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4708, allocations: 4 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4708, allocations: 0 / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4708, allocations: 0 / 0.5646 GB, free: 0.9375 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.0006671/0.4715, allocations: 381.2 kB / 0.565 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4715, allocations: 12.03 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.4716, allocations: 16.83 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4719, allocations: 167.2 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4719, allocations: 384 / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.472, allocations: 8.125 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.4721, allocations: 53.67 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4722, allocations: 0 / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4722, allocations: 4 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4722, allocations: 4 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.4723, allocations: 15.98 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.4727, allocations: 271.9 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.4729, allocations: 58.61 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.473, allocations: 24.84 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.473, allocations: 4 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.4732, allocations: 63.39 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4732, allocations: 0 / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.4738, allocations: 181.3 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4738, allocations: 51.41 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.4741, allocations: 278.8 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4742, allocations: 29.7 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.4742, allocations: 116.1 kB / 0.5663 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4743, allocations: 27.78 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.4743, allocations: 21.66 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4745, allocations: 334.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.4745, allocations: 15.98 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.4746, allocations: 45.64 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.4747, allocations: 66.12 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4747, allocations: 0 / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002166/0.475, allocations: 105.5 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.475, allocations: 4 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.475, allocations: 11.94 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.475, allocations: 0 / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4751, allocations: 19.98 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4751, allocations: 7.969 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4752, allocations: 7.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4752, allocations: 4 kB / 0.5669 GB, free: 14.37 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.0001415/0.4753, allocations: 133.8 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4754, allocations: 11.91 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.4756, allocations: 119 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4756, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4756, allocations: 4 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4756, allocations: 7.938 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.4761, allocations: 374.4 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4761, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.4762, allocations: 11.94 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4762, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4762, allocations: 7.938 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4762, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4762, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4764, allocations: 212.3 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.4765, allocations: 15.89 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4765, allocations: 3.938 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.4766, allocations: 4 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.4766, allocations: 19.91 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4766, allocations: 0 / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4768, allocations: 204.6 kB / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4768, allocations: 0 / 0.568 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.4771, allocations: 27.92 kB / 0.568 GB, free: 13.14 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.001774/0.4789, allocations: 475.2 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4791, allocations: 55.91 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4791, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.4792, allocations: 20 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4795, allocations: 37.59 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.4802, allocations: 291.5 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.4806, allocations: 0.7237 MB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.4806, allocations: 12.97 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.4807, allocations: 15.44 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4807, allocations: 0 / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005667/0.4863, allocations: 1.818 MB / 0.5714 GB, free: 9.852 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.602353570982814]