Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001559/0.001559, 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.002153/0.002153, 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2201/0.2201, allocations: 44.92 MB / 359.6 MB, free: 6.277 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [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.00227/0.00227, allocations: 59.91 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003778/0.3917, allocations: 1.845 MB / 0.5601 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.3947, allocations: 1.809 MB / 0.5619 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3948, allocations: 3.938 kB / 0.5619 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.3951, allocations: 51.7 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.3956, allocations: 135.4 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3958, allocations: 111.6 kB / 0.5622 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3962, allocations: 211.3 kB / 0.5624 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.3962, allocations: 5.812 kB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3964, allocations: 99.55 kB / 0.5625 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.3966, allocations: 75.69 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3967, allocations: 11.94 kB / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.3969, allocations: 123.9 kB / 0.5627 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.397, allocations: 35.84 kB / 0.5627 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.3971, allocations: 67.53 kB / 0.5628 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.3974, allocations: 221.5 kB / 0.563 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3974, allocations: 7.984 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3974, allocations: 3.938 kB / 0.563 GB, free: 2.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.3974, allocations: 4 kB / 0.563 GB, free: 2.879 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007686/0.3982, allocations: 421 kB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3983, allocations: 8.031 kB / 0.5634 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.3983, allocations: 16.84 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.3988, allocations: 202 kB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3988, allocations: 8.375 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3988, allocations: 4.125 kB / 0.5636 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.399, allocations: 101.1 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3991, allocations: 0 / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3991, allocations: 0 / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3991, allocations: 7.938 kB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3992, allocations: 31.97 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.3995, allocations: 193.6 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.3998, allocations: 101.2 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3999, allocations: 41.64 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4, allocations: 7.984 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.4003, allocations: 109 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.4003, allocations: 0 / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000528/0.4008, allocations: 169.4 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4009, allocations: 136.5 kB / 0.5645 GB, free: 1.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.4012, allocations: 236.1 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4012, allocations: 33.7 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.4013, allocations: 116.1 kB / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.4014, allocations: 23.81 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.4014, allocations: 29.7 kB / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4016, allocations: 330.8 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.4017, allocations: 27.98 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.4018, allocations: 73.14 kB / 0.5653 GB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.402, allocations: 91.34 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.402, allocations: 3.938 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002724/0.4023, allocations: 138.1 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.4023, allocations: 11.98 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4024, allocations: 0 / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4024, allocations: 0 / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4025, allocations: 23.94 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4025, allocations: 0 / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.4026, allocations: 23.89 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4026, allocations: 7.984 kB / 0.5656 GB, free: 15.94 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.0001492/0.4028, allocations: 142.2 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.4028, allocations: 19.91 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.4032, allocations: 146.7 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4032, allocations: 4 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4032, allocations: 0 / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4032, allocations: 3.984 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4034, allocations: 204.5 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4034, allocations: 0 / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.4034, allocations: 8 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4034, allocations: 7.984 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4034, allocations: 0 / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4035, allocations: 4 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4035, allocations: 0 / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.4038, allocations: 169.7 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.4038, allocations: 23.83 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.4039, allocations: 4 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.4039, allocations: 8 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.404, allocations: 7.984 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.404, allocations: 7.984 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.4042, allocations: 177.8 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4042, allocations: 0 / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.4045, allocations: 55.86 kB / 0.5665 GB, free: 14.88 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 (10): * Single equations (assignments): 6 * 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.001857/0.4063, allocations: 0.4997 MB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.4066, allocations: 83.89 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4066, allocations: 0 / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4067, allocations: 35.92 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4071, allocations: 56.11 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.4078, allocations: 305.4 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.4082, allocations: 0.7282 MB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.4083, allocations: 31.41 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4083, allocations: 0 / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006123/0.4144, allocations: 3.179 MB / 0.5713 GB, free: 10.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.002469402039424]