Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001397/0.001397, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001587/0.001587, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2823/0.2823, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.91 kB / 0.4967 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.446, allocations: 66.04 MB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003889/0.4499, allocations: 1.701 MB / 0.5629 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.4521, allocations: 1.026 MB / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.4522, allocations: 0 / 0.5639 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.4526, allocations: 51.75 kB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.453, allocations: 103.6 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.4531, allocations: 71.67 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.4534, allocations: 103.7 kB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.4534, allocations: 4.234 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4535, allocations: 47.72 kB / 0.5642 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4536, allocations: 35.78 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.4536, allocations: 4 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.4537, allocations: 35.98 kB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.4538, allocations: 23.92 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.4539, allocations: 43.66 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.4541, allocations: 133.7 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4541, allocations: 4 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4541, allocations: 0 / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4542, allocations: 0 / 0.5645 GB, free: 1.012 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006696/0.4548, allocations: 365.4 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4549, allocations: 8.031 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.4549, allocations: 12.89 kB / 0.5649 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.4552, allocations: 163.2 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4553, allocations: 4.375 kB / 0.565 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4553, allocations: 12.11 kB / 0.565 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4555, allocations: 49.62 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4555, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4555, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4555, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.4556, allocations: 15.98 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.4558, allocations: 164.8 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.456, allocations: 50.62 kB / 0.5653 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.4561, allocations: 20.78 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4561, allocations: 4 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.4563, allocations: 67.33 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4563, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003449/0.4566, allocations: 97.58 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.4567, allocations: 59.39 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.457, allocations: 266.8 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.457, allocations: 29.7 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.4571, allocations: 112.1 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4572, allocations: 11.91 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.4572, allocations: 17.72 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4574, allocations: 330.8 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.4574, allocations: 19.94 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.4575, allocations: 29.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4576, allocations: 41.7 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4576, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.4578, allocations: 93.47 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4578, allocations: 7.938 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4578, allocations: 8.344 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4578, allocations: 0 / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.4579, allocations: 11.98 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.458, allocations: 4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.458, allocations: 11.89 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.458, allocations: 0 / 0.5665 GB, free: 14.76 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 (7): * Single equations (assignments): 7 * 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.0001416/0.4582, allocations: 149.6 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4582, allocations: 19.84 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.4585, allocations: 98.75 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4585, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4585, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4585, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.4587, allocations: 168.6 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4587, allocations: 4 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.4587, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4587, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4587, allocations: 0 / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4587, allocations: 0 / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4587, allocations: 0 / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.4589, allocations: 124.9 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.4589, allocations: 11.91 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4589, allocations: 0 / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.459, allocations: 3.984 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.459, allocations: 4 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.459, allocations: 0 / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4593, allocations: 208.6 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4593, allocations: 4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.4595, allocations: 15.94 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001726/0.4612, allocations: 419.4 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.4614, allocations: 39.92 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4614, allocations: 0 / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.4615, allocations: 15.98 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4618, allocations: 33.78 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.4623, allocations: 270.6 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.4628, allocations: 0.7157 MB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.4628, allocations: 16.42 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.4629, allocations: 15.44 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4629, allocations: 0 / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of Templates: time 0.005237/0.4681, allocations: 1.575 MB / 0.5703 GB, free: 10.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.697489268146455]