Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.96 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 75.88 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3845, allocations: 66.1 MB / 0.562 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003937/0.3885, allocations: 1.776 MB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.3918, allocations: 1.741 MB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3919, allocations: 0 / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.3922, allocations: 51.7 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005854/0.3928, allocations: 147.3 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3931, allocations: 103.7 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.3935, allocations: 207.3 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.3936, allocations: 5.812 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3938, allocations: 91.56 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.394, allocations: 71.67 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.394, allocations: 12 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.3943, allocations: 107.9 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.3944, allocations: 43.83 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.3945, allocations: 47.67 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.3949, allocations: 233.4 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3949, allocations: 4 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3949, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3949, allocations: 3.938 kB / 0.5665 GB, free: 15.28 MB / 414.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.0008476/0.3958, allocations: 428.9 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3958, allocations: 12.03 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.3959, allocations: 20.83 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.3963, allocations: 182.2 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3964, allocations: 8.375 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3964, allocations: 4.375 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.3967, allocations: 160.8 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3967, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3967, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3967, allocations: 4 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3968, allocations: 39.91 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.3971, allocations: 162.2 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3974, allocations: 105.2 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3975, allocations: 45.69 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3976, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3978, allocations: 109 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3978, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000547/0.3984, allocations: 177.4 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3985, allocations: 136.5 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.3988, allocations: 246.3 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3988, allocations: 29.69 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.3989, allocations: 120.1 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.399, allocations: 23.81 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.3991, allocations: 33.7 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3992, allocations: 326.8 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3993, allocations: 35.97 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.3995, allocations: 127.9 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3998, allocations: 91.34 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3998, allocations: 8.031 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003474/0.4001, allocations: 134 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4001, allocations: 11.94 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4001, allocations: 128 / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4002, allocations: 4 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4003, allocations: 35.86 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4003, allocations: 0 / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4004, allocations: 19.83 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4004, allocations: 7.984 kB / 0.5692 GB, free: 12.21 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.0001613/0.4006, allocations: 131.2 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.4006, allocations: 23.84 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.401, allocations: 162.7 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.401, allocations: 3.938 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.401, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.401, allocations: 3.984 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.4012, allocations: 161.2 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4012, allocations: 0 / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.4013, allocations: 19.97 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4013, allocations: 4 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4013, allocations: 7.938 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4013, allocations: 0 / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4013, allocations: 0 / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.4017, allocations: 189.7 kB / 0.5699 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.4017, allocations: 19.86 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4018, allocations: 11.92 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.4019, allocations: 4 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.4019, allocations: 11.98 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.402, allocations: 7.984 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.4022, allocations: 188.5 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4022, allocations: 0 / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.4025, allocations: 59.86 kB / 0.5702 GB, free: 11.15 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 (12): * Single equations (assignments): 8 * 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.002111/0.4046, allocations: 0.5235 MB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.405, allocations: 83.91 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.405, allocations: 0 / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4052, allocations: 43.91 kB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4056, allocations: 51.84 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.4063, allocations: 321.3 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.4064, allocations: 107.4 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.4065, allocations: 35.36 kB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4065, allocations: 0 / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Templates: time 0.007557/0.4141, allocations: 3.225 MB / 0.5744 GB, free: 6.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.831985876429826]