Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001723/0.001723, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002021/0.002021, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.89 kB / 0.4936 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3532, allocations: 65.46 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003496/0.3567, allocations: 1.788 MB / 0.5592 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3587, allocations: 1.042 MB / 0.5603 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.3588, allocations: 0 / 0.5603 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.3594, allocations: 307.2 kB / 0.5606 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.3599, allocations: 255.2 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3601, allocations: 107.7 kB / 0.5609 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3605, allocations: 263.2 kB / 0.5612 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.3605, allocations: 13.78 kB / 0.5612 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.3607, allocations: 135.5 kB / 0.5613 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.361, allocations: 208 kB / 0.5615 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.361, allocations: 8 kB / 0.5615 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3612, allocations: 51.97 kB / 0.5616 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3613, allocations: 136.5 kB / 0.5617 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3614, allocations: 103.1 kB / 0.5618 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.3619, allocations: 380.6 kB / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3619, allocations: 0 / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3619, allocations: 4 kB / 0.5621 GB, free: 2.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.362, allocations: 0 / 0.5621 GB, free: 2.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001055/0.363, allocations: 0.6786 MB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.363, allocations: 8.031 kB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.3631, allocations: 52.61 kB / 0.5629 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.3638, allocations: 382.5 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3638, allocations: 8.375 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3638, allocations: 8.125 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.364, allocations: 87.3 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.364, allocations: 4 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3641, allocations: 0 / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3641, allocations: 4 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3642, allocations: 31.97 kB / 0.5634 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3646, allocations: 306.1 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3649, allocations: 109.2 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.365, allocations: 41.7 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.365, allocations: 0 / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.3653, allocations: 120.9 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3653, allocations: 4 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005737/0.3658, allocations: 205.2 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3659, allocations: 81.11 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3672, allocations: 1.03 MB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3672, allocations: 33.7 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.3674, allocations: 232 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.3675, allocations: 35.77 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.3675, allocations: 33.7 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3677, allocations: 362.8 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.3678, allocations: 35.98 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3679, allocations: 59.41 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3681, allocations: 95.34 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3681, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003432/0.3685, allocations: 185.7 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3685, allocations: 4 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3685, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3685, allocations: 4 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3686, allocations: 24.05 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3687, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3688, allocations: 23.88 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3688, allocations: 4 kB / 0.5663 GB, free: 14.23 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.0002395/0.369, allocations: 217.8 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.3691, allocations: 63.59 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.3696, allocations: 201.8 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3696, allocations: 0 / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3696, allocations: 4 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3696, allocations: 0 / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.3699, allocations: 261.2 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3699, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3699, allocations: 11.98 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.3699, allocations: 3.938 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3699, allocations: 4 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3699, allocations: 4 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3699, allocations: 3.984 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.3703, allocations: 225.5 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3705, allocations: 67.53 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3705, allocations: 4 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3706, allocations: 11.98 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3706, allocations: 7.984 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3707, allocations: 4 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009025/0.3716, allocations: 0.776 MB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3716, allocations: 4 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3719, allocations: 44 kB / 0.5681 GB, free: 12.27 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.001861/0.3737, allocations: 442.9 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.374, allocations: 83.89 kB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.374, allocations: 0 / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3741, allocations: 43.91 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.3746, allocations: 75.22 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3759, allocations: 0.8854 MB / 0.5696 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3762, allocations: 233.8 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.3763, allocations: 58.94 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.3764, allocations: 31.44 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3764, allocations: 0 / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Templates: time 0.009783/0.3862, allocations: 4.318 MB / 0.5741 GB, free: 6.293 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.3585374392569065]