Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001399/0.001399, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001788/0.001788, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2255/0.2255, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [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.002146/0.002146, allocations: 71.89 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 65.47 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003716/0.3429, allocations: 1.787 MB / 0.56 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.346, allocations: 1.731 MB / 0.5617 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.3461, allocations: 3.938 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.3464, allocations: 51.7 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3469, allocations: 143.4 kB / 0.5619 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3472, allocations: 107.6 kB / 0.562 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.3475, allocations: 211.3 kB / 0.5622 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.3475, allocations: 9.812 kB / 0.5622 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3477, allocations: 83.62 kB / 0.5623 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3479, allocations: 79.55 kB / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3479, allocations: 8 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.3481, allocations: 115.9 kB / 0.5625 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.3482, allocations: 31.91 kB / 0.5625 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.3483, allocations: 51.66 kB / 0.5625 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.3488, allocations: 229.5 kB / 0.5628 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3488, allocations: 0 / 0.5628 GB, free: 2.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3488, allocations: 0 / 0.5628 GB, free: 2.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3488, allocations: 4 kB / 0.5628 GB, free: 2.84 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.0008553/0.3496, allocations: 432.9 kB / 0.5632 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3497, allocations: 12.03 kB / 0.5632 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.3497, allocations: 16.84 kB / 0.5632 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3502, allocations: 182.2 kB / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3502, allocations: 12.31 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3502, allocations: 8.125 kB / 0.5634 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.3505, allocations: 152.5 kB / 0.5635 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3505, allocations: 0 / 0.5635 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3505, allocations: 7.984 kB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3505, allocations: 4 kB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3507, allocations: 31.92 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.3509, allocations: 162.2 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3512, allocations: 105.2 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.3513, allocations: 37.69 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3513, allocations: 12 kB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.3515, allocations: 105 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3516, allocations: 0 / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004875/0.352, allocations: 185.4 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3521, allocations: 128.5 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3525, allocations: 256.1 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3525, allocations: 25.7 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.3526, allocations: 116.1 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3527, allocations: 27.8 kB / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.3527, allocations: 41.64 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3529, allocations: 330.8 kB / 0.565 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.353, allocations: 27.98 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3532, allocations: 132.5 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3534, allocations: 95.94 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3534, allocations: 0 / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.3537, allocations: 145.5 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3537, allocations: 4 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3537, allocations: 0 / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3537, allocations: 4 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3538, allocations: 23.92 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3539, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.3539, allocations: 23.88 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.354, allocations: 4 kB / 0.5655 GB, free: 15.76 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001347/0.3541, allocations: 126.4 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.3541, allocations: 19.84 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.3545, allocations: 166.7 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3545, allocations: 0 / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3545, allocations: 3.984 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3545, allocations: 7.984 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3547, allocations: 157.2 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3547, allocations: 4.25 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.3548, allocations: 15.92 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3548, allocations: 7.938 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3548, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3548, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3548, allocations: 4 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.3552, allocations: 189.7 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3552, allocations: 27.78 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3552, allocations: 4 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.3553, allocations: 4 kB / 0.5662 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.3554, allocations: 15.92 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3554, allocations: 7.984 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.3556, allocations: 181.8 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3556, allocations: 0 / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.356, allocations: 63.86 kB / 0.5665 GB, free: 14.7 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001979/0.3579, allocations: 0.5336 MB / 0.567 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.3582, allocations: 83.89 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3582, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3584, allocations: 39.92 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3588, allocations: 61.19 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.3595, allocations: 313.3 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3597, allocations: 111.6 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3597, allocations: 31.42 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3597, allocations: 0 / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Templates: time 0.006057/0.3658, allocations: 3.24 MB / 0.5707 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: 8.175164096057415]