Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001996/0.001996, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001731/0.001731, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2354/0.2354, allocations: 46.95 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 67.89 kB / 0.4967 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3591, allocations: 66.04 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003337/0.3624, allocations: 1.658 MB / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3643, allocations: 0.9559 MB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.3643, allocations: 0 / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3646, allocations: 63.73 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.3649, allocations: 107.6 kB / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.3651, allocations: 67.69 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3653, allocations: 111.7 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.3654, allocations: 12.22 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.3655, allocations: 43.8 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3656, allocations: 51.75 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3656, allocations: 4 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.3657, allocations: 31.98 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.3657, allocations: 19.92 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.3658, allocations: 27.8 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.366, allocations: 110 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.366, allocations: 0 / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.366, allocations: 0 / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.366, allocations: 4 kB / 0.5643 GB, free: 0.8633 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.000641/0.3667, allocations: 337.6 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3667, allocations: 16.02 kB / 0.5647 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.3667, allocations: 16.78 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.367, allocations: 143.1 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.367, allocations: 4.375 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.367, allocations: 4.125 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3672, allocations: 53.66 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3672, allocations: 0 / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3672, allocations: 0 / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3672, allocations: 4 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.3673, allocations: 19.92 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.3675, allocations: 133.3 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.3677, allocations: 54.61 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.3678, allocations: 16.8 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3678, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3679, allocations: 71.33 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3679, allocations: 0 / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003288/0.3683, allocations: 109.5 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3683, allocations: 55.41 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3685, allocations: 194.3 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3685, allocations: 33.7 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.3686, allocations: 100.1 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3687, allocations: 19.89 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.3687, allocations: 21.7 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3689, allocations: 322.8 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.3689, allocations: 12 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.369, allocations: 33.69 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3691, allocations: 49.64 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3691, allocations: 0 / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001768/0.3693, allocations: 93.47 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3693, allocations: 8 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3693, allocations: 3.984 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3693, allocations: 0 / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.3694, allocations: 8 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3694, allocations: 0 / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.3694, allocations: 11.97 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3694, allocations: 4 kB / 0.5662 GB, free: 14.77 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.0001122/0.3696, allocations: 129.8 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3696, allocations: 11.89 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.3698, allocations: 98.69 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3698, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3698, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3698, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.37, allocations: 137.2 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.37, allocations: 384 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.37, allocations: 8 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.37, allocations: 3.938 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.37, allocations: 7.984 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.37, allocations: 0 / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.37, allocations: 4 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3702, allocations: 113 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.3703, allocations: 15.84 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3703, allocations: 4 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.204e-05/0.3703, allocations: 4 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3704, allocations: 7.922 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3704, allocations: 4 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3706, allocations: 156.2 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3706, allocations: 0 / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3708, allocations: 20 kB / 0.5669 GB, free: 13.98 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 (6): * Single equations (assignments): 4 * 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.00176/0.3725, allocations: 440.5 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3727, allocations: 51.91 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3727, allocations: 0 / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.3728, allocations: 19.98 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3731, allocations: 35.11 kB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.3736, allocations: 209.9 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3737, allocations: 93.25 kB / 0.5677 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.3738, allocations: 16.34 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3738, allocations: 11.44 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3738, allocations: 0 / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005073/0.3789, allocations: 1.698 MB / 0.5694 GB, free: 11.58 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.3167291968129575]