Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.002058/0.002058, 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.001663/0.001663, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2488/0.2488, 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3513, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003435/0.3548, allocations: 1.784 MB / 0.5629 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.3577, allocations: 1.731 MB / 0.5646 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3578, allocations: 7.938 kB / 0.5646 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.3582, allocations: 59.62 kB / 0.5646 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.3586, allocations: 135.4 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3588, allocations: 111.7 kB / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3591, allocations: 207.3 kB / 0.5651 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.3592, allocations: 5.812 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3593, allocations: 83.62 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3595, allocations: 79.56 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3596, allocations: 8 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3598, allocations: 111.9 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.3598, allocations: 39.8 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.3599, allocations: 51.72 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.3603, allocations: 225.5 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3603, allocations: 8 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3603, allocations: 0 / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3603, allocations: 0 / 0.5657 GB, free: 15.51 MB / 414.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.0008449/0.3611, allocations: 428.8 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3612, allocations: 8.031 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.3613, allocations: 16.84 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.3617, allocations: 194.2 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3617, allocations: 384 / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3617, allocations: 8.125 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.362, allocations: 160.4 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.362, allocations: 4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.362, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.362, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3622, allocations: 35.97 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.3624, allocations: 158.2 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.3627, allocations: 109.2 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3628, allocations: 41.64 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3628, allocations: 3.984 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.3631, allocations: 120.9 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3631, allocations: 4 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005052/0.3636, allocations: 173.4 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.3637, allocations: 140.5 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.364, allocations: 240.1 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.364, allocations: 33.7 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.3641, allocations: 116.1 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3642, allocations: 31.78 kB / 0.5676 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.3642, allocations: 29.7 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3644, allocations: 330.8 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.3645, allocations: 27.98 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3646, allocations: 136.2 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3648, allocations: 91.94 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3648, allocations: 4 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000294/0.3651, allocations: 149.4 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3651, allocations: 4 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3651, allocations: 4 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3652, allocations: 0 / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3653, allocations: 23.98 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3653, allocations: 64 / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.3654, allocations: 15.89 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3654, allocations: 8 kB / 0.5684 GB, free: 12.44 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.0001366/0.3655, allocations: 134.3 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3656, allocations: 19.84 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3659, allocations: 162.7 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3659, allocations: 4 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3659, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3659, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3661, allocations: 161.2 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3661, allocations: 4 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.3662, allocations: 12 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3662, allocations: 7.938 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3662, allocations: 3.984 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3662, allocations: 0 / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3662, allocations: 8.188 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3665, allocations: 185.8 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.3666, allocations: 23.8 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3666, allocations: 4 kB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3667, allocations: 15.98 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.3667, allocations: 11.92 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3667, allocations: 4 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.3669, allocations: 185.8 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3669, allocations: 0 / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.3673, allocations: 51.88 kB / 0.5693 GB, free: 11.39 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.001992/0.3692, allocations: 0.5355 MB / 0.5699 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3695, allocations: 87.89 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3695, allocations: 0 / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3696, allocations: 44.09 kB / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.37, allocations: 56.7 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.3706, allocations: 295.6 kB / 0.5703 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3707, allocations: 111.4 kB / 0.5704 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.679e-05/0.3708, allocations: 41.95 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.3709, allocations: 27.42 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3709, allocations: 0 / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.008077/0.379, allocations: 3.498 MB / 0.5739 GB, free: 6.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.412965612486005]