Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001877/0.001877, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002202/0.002202, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.67/1.67, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2526/0.2526, allocations: 44.92 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [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.002166/0.002166, allocations: 67.89 kB / 0.4936 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4016, allocations: 65.46 MB / 0.5576 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004377/0.406, allocations: 1.941 MB / 0.5595 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.4087, allocations: 1.151 MB / 0.5606 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.4088, allocations: 3.938 kB / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.4095, allocations: 159.5 kB / 0.5607 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.4101, allocations: 191.3 kB / 0.5609 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.4106, allocations: 123.6 kB / 0.561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.411, allocations: 247.3 kB / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.4112, allocations: 21.77 kB / 0.5613 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.4115, allocations: 119.5 kB / 0.5614 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.4118, allocations: 143.5 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.4118, allocations: 8 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.412, allocations: 63.97 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4121, allocations: 55.7 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.4122, allocations: 95.34 kB / 0.5618 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.4126, allocations: 217.5 kB / 0.562 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4126, allocations: 0 / 0.562 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4126, allocations: 0 / 0.562 GB, free: 3.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4126, allocations: 0 / 0.562 GB, free: 3.168 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000891/0.4135, allocations: 484.5 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4135, allocations: 8.031 kB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.4136, allocations: 28.75 kB / 0.5625 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.414, allocations: 230.5 kB / 0.5627 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4141, allocations: 4.375 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.4141, allocations: 12.12 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.4143, allocations: 107.3 kB / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4144, allocations: 0 / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4144, allocations: 4 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4144, allocations: 4 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.4145, allocations: 47.91 kB / 0.5629 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.4152, allocations: 439.8 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.4157, allocations: 121.2 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.4158, allocations: 41.83 kB / 0.5634 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4158, allocations: 3.938 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.4161, allocations: 125 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4161, allocations: 0 / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00176/0.4179, allocations: 497.8 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.418, allocations: 85.11 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.4185, allocations: 372.5 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4185, allocations: 37.64 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4186, allocations: 144.5 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.4187, allocations: 75.36 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.4188, allocations: 45.7 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.4191, allocations: 350.8 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4192, allocations: 55.91 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4194, allocations: 91.34 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4197, allocations: 163.5 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4197, allocations: 0 / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004292/0.4201, allocations: 225.3 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4201, allocations: 11.94 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4201, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4201, allocations: 4 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4203, allocations: 47.91 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.4203, allocations: 4.062 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.4204, allocations: 12 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.4204, allocations: 12 kB / 0.5657 GB, free: 15.11 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002003/0.4206, allocations: 162.3 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.4207, allocations: 31.75 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.4212, allocations: 263.4 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4212, allocations: 4 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4212, allocations: 0 / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4212, allocations: 7.984 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.4225, allocations: 0.6873 MB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4226, allocations: 3.938 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.4226, allocations: 27.98 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4226, allocations: 8.125 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4227, allocations: 7.984 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4227, allocations: 0 / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4227, allocations: 7.938 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.4232, allocations: 427.5 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.4232, allocations: 23.84 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4233, allocations: 8 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4234, allocations: 4 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.4235, allocations: 27.84 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4235, allocations: 11.98 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.4238, allocations: 283 kB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4238, allocations: 0 / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.4242, allocations: 51.92 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002023/0.4262, allocations: 0.5169 MB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.4266, allocations: 151.7 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4266, allocations: 0 / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4268, allocations: 72.03 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.4273, allocations: 68.5 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.4283, allocations: 0.4966 MB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4288, allocations: 0.7636 MB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.4289, allocations: 41.92 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.429, allocations: 31.38 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.429, allocations: 0 / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.008262/0.4372, allocations: 3.249 MB / 0.5729 GB, free: 7.766 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.850919094169512]