Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001364/0.001364, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001587/0.001587, allocations: 207.5 kB / 23.73 MB, free: 4.387 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.583/1.583, 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.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.2297/0.2297, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [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.002883/0.002883, allocations: 67.89 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3858, allocations: 65.47 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.004081/0.3899, allocations: 1.718 MB / 0.5592 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.393, allocations: 1.661 MB / 0.5608 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.3931, allocations: 3.938 kB / 0.5608 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.3934, allocations: 39.77 kB / 0.5609 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.3938, allocations: 99.59 kB / 0.561 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3941, allocations: 75.69 kB / 0.561 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3943, allocations: 115.6 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3944, allocations: 7.984 kB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3946, allocations: 43.8 kB / 0.5612 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3947, allocations: 39.77 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3948, allocations: 8 kB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.395, allocations: 107.9 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.3951, allocations: 23.92 kB / 0.5614 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.3952, allocations: 27.86 kB / 0.5614 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.3956, allocations: 165.8 kB / 0.5615 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3956, allocations: 4 kB / 0.5615 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3956, allocations: 0 / 0.5615 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.3956, allocations: 0 / 0.5615 GB, free: 3.336 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.0007089/0.3963, allocations: 353.4 kB / 0.5619 GB, free: 2.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3963, allocations: 12.03 kB / 0.5619 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.3964, allocations: 12.84 kB / 0.5619 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3968, allocations: 149.9 kB / 0.562 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3968, allocations: 11.94 kB / 0.5621 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3968, allocations: 3.984 kB / 0.5621 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.397, allocations: 93.09 kB / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3971, allocations: 0 / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3971, allocations: 0 / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3971, allocations: 4 kB / 0.5622 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.3972, allocations: 27.92 kB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.3976, allocations: 224.5 kB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3978, allocations: 62.67 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.3979, allocations: 20.84 kB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3979, allocations: 3.938 kB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.398, allocations: 71.33 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.398, allocations: 0 / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006432/0.3987, allocations: 185.3 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3988, allocations: 77.11 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.399, allocations: 172 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.399, allocations: 25.7 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.3991, allocations: 104.1 kB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.3991, allocations: 35.67 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3992, allocations: 21.72 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3993, allocations: 322.8 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.3994, allocations: 24.36 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.3996, allocations: 68.27 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3997, allocations: 65.64 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3997, allocations: 4 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.4, allocations: 101.6 kB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4, allocations: 10.81 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4, allocations: 3.984 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4, allocations: 0 / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.4001, allocations: 20 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4001, allocations: 0 / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.4002, allocations: 3.938 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4002, allocations: 7.984 kB / 0.5637 GB, free: 0.8711 MB / 398.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.0001125/0.4003, allocations: 117.8 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4003, allocations: 11.95 kB / 0.5639 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.4006, allocations: 126.5 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4006, allocations: 0 / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4006, allocations: 0 / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.4006, allocations: 11.92 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.4011, allocations: 339 kB / 0.5643 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4011, allocations: 4 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.4011, allocations: 15.92 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4011, allocations: 0 / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4012, allocations: 3.938 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4012, allocations: 8.031 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4012, allocations: 0 / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.4015, allocations: 220.5 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.4015, allocations: 19.83 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4015, allocations: 3.938 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.4016, allocations: 8 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4017, allocations: 7.969 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4017, allocations: 4 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.4018, allocations: 130.9 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4018, allocations: 0 / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.4022, allocations: 51.86 kB / 0.5648 GB, free: 15.73 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.002237/0.4044, allocations: 0.5812 MB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.4046, allocations: 63.91 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4046, allocations: 0 / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.4047, allocations: 35.98 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.4051, allocations: 26.48 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.4057, allocations: 206.7 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4058, allocations: 85.31 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.347e-05/0.4059, allocations: 12.97 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.406, allocations: 35.42 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.406, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Templates: time 0.007348/0.4133, allocations: 2.525 MB / 0.5683 GB, free: 12.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.412059139460325]