Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001794/0.001794, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002163/0.002163, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.489/1.489, allocations: 230.6 MB / 258.2 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.2349/0.2349, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 66.03 MB / 0.5619 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003207/0.3653, allocations: 1.717 MB / 0.5636 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.367, allocations: 0.9676 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.367, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3674, allocations: 91.62 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3677, allocations: 115.5 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3679, allocations: 75.72 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3681, allocations: 123.7 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.3682, allocations: 11.98 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3683, allocations: 51.72 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3684, allocations: 63.8 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3684, allocations: 4 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.3685, allocations: 43.98 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.3686, allocations: 27.91 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3686, allocations: 31.69 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3688, allocations: 129.9 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3688, allocations: 0 / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3688, allocations: 4 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3688, allocations: 0 / 0.5652 GB, free: 0.6797 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005539/0.3694, allocations: 353.5 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3694, allocations: 8.031 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3695, allocations: 16.84 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3698, allocations: 154.3 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3698, allocations: 384 / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3698, allocations: 16.06 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3699, allocations: 53.66 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.37, allocations: 4 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.37, allocations: 4 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.37, allocations: 4 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.3701, allocations: 19.98 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3704, allocations: 236.5 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3706, allocations: 62.61 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.3707, allocations: 16.86 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3707, allocations: 3.984 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3708, allocations: 67.39 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3708, allocations: 4 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3714, allocations: 185.3 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3715, allocations: 55.41 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3717, allocations: 227.5 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3717, allocations: 29.7 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.3718, allocations: 108.1 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3718, allocations: 23.8 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3719, allocations: 25.7 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.372, allocations: 326.8 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.3721, allocations: 31.92 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.3722, allocations: 38.08 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3723, allocations: 61.77 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3723, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.3725, allocations: 109.5 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3725, allocations: 8 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3725, allocations: 0 / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3725, allocations: 3.938 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.3726, allocations: 15.98 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3726, allocations: 8.031 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.3727, allocations: 0 / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3727, allocations: 4 kB / 0.5674 GB, free: 14.25 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 (10): * Single equations (assignments): 10 * 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.0001261/0.3728, allocations: 138.2 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3729, allocations: 11.91 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3731, allocations: 127 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3731, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3731, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3731, allocations: 3.984 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.3736, allocations: 358.9 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3736, allocations: 0 / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.3737, allocations: 12 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3737, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3737, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3737, allocations: 4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3737, allocations: 4.219 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3739, allocations: 220.2 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.374, allocations: 15.91 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.374, allocations: 0 / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.3741, allocations: 8.031 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3741, allocations: 11.92 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3741, allocations: 8 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3743, allocations: 173.1 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3743, allocations: 0 / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3745, allocations: 23.94 kB / 0.5685 GB, free: 13.07 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: 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 (9): * Single equations (assignments): 7 * 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.001781/0.3763, allocations: 494.8 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3765, allocations: 71.89 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3765, allocations: 0 / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.3766, allocations: 23.98 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.377, allocations: 52.97 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.3774, allocations: 255.4 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.3775, allocations: 92.69 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.3776, allocations: 16.97 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3776, allocations: 23.42 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3776, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005132/0.3828, allocations: 1.944 MB / 0.5714 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.018523830003687]