Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001397/0.001397, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001656/0.001656, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2335/0.2335, allocations: 44.92 MB / 359.6 MB, free: 6.281 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [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.002205/0.002205, allocations: 71.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3925, allocations: 65.47 MB / 0.5583 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004224/0.3967, allocations: 1.951 MB / 0.5602 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.3987, allocations: 1.088 MB / 0.5613 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3988, allocations: 7.938 kB / 0.5613 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.3992, allocations: 47.7 kB / 0.5613 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.3995, allocations: 99.48 kB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3997, allocations: 99.64 kB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.4, allocations: 147.5 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4001, allocations: 25.39 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4002, allocations: 63.66 kB / 0.5617 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.4004, allocations: 55.64 kB / 0.5618 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.4004, allocations: 8 kB / 0.5618 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.4005, allocations: 47.98 kB / 0.5619 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.4006, allocations: 27.92 kB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.4007, allocations: 55.61 kB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.4009, allocations: 154 kB / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4009, allocations: 0 / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.401, allocations: 0 / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.401, allocations: 0 / 0.5621 GB, free: 3.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007577/0.4017, allocations: 415 kB / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4018, allocations: 8.031 kB / 0.5625 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.4018, allocations: 16.84 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.4022, allocations: 178.9 kB / 0.5627 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4022, allocations: 4.375 kB / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.4022, allocations: 12.12 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.4025, allocations: 104.2 kB / 0.5628 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4025, allocations: 0 / 0.5628 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4025, allocations: 8 kB / 0.5628 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4025, allocations: 3.938 kB / 0.5628 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4027, allocations: 55.89 kB / 0.5628 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.4033, allocations: 488.1 kB / 0.5633 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.4037, allocations: 78.67 kB / 0.5634 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4038, allocations: 40.83 kB / 0.5634 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4038, allocations: 0 / 0.5634 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.404, allocations: 87.31 kB / 0.5635 GB, free: 2.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.606e-06/0.404, allocations: 7.984 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004382/0.4045, allocations: 141.5 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4045, allocations: 55.72 kB / 0.5637 GB, free: 1.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.4048, allocations: 207.1 kB / 0.5639 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.4048, allocations: 29.7 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.4049, allocations: 112.1 kB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.4049, allocations: 31.69 kB / 0.5641 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.405, allocations: 37.7 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4051, allocations: 326.8 kB / 0.5644 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.4052, allocations: 23.98 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4054, allocations: 64.27 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4056, allocations: 100.1 kB / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4056, allocations: 0 / 0.5646 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002978/0.4059, allocations: 137.4 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4059, allocations: 12.12 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4059, allocations: 0 / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4059, allocations: 4 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.406, allocations: 23.92 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.406, allocations: 4 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.4061, allocations: 11.95 kB / 0.5648 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4061, allocations: 4 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001329/0.4062, allocations: 137.6 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.4063, allocations: 15.91 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.4066, allocations: 131 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4066, allocations: 3.938 kB / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4066, allocations: 0 / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4066, allocations: 192 / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.4068, allocations: 180.7 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4068, allocations: 3.938 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.4069, allocations: 19.92 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4069, allocations: 0 / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4069, allocations: 0 / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4069, allocations: 11.94 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4069, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.4073, allocations: 180.9 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.4073, allocations: 15.94 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4074, allocations: 4 kB / 0.5655 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.4074, allocations: 7.984 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4075, allocations: 19.94 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4075, allocations: 4 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4077, allocations: 139.2 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4077, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.4079, allocations: 31.92 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001617/0.4095, allocations: 403.9 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.4098, allocations: 79.95 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4098, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.4099, allocations: 31.92 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.4102, allocations: 45.34 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.4109, allocations: 309 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4113, allocations: 0.7164 MB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.4113, allocations: 23.44 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4113, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004736/0.4161, allocations: 2.225 MB / 0.5694 GB, free: 12.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.063977390993387]