Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001867/0.001867, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002331/0.002331, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 0.4974 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 66.01 MB / 0.5619 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002914/0.3956, allocations: 1.719 MB / 0.5635 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3978, allocations: 1.668 MB / 0.5652 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.3978, allocations: 0 / 0.5652 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3981, allocations: 36.17 kB / 0.5652 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.3985, allocations: 99.89 kB / 0.5653 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3986, allocations: 80.28 kB / 0.5654 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3988, allocations: 112.8 kB / 0.5655 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3989, allocations: 3.062 kB / 0.5655 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.399, allocations: 50.23 kB / 0.5655 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3991, allocations: 43.89 kB / 0.5656 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3991, allocations: 6.5 kB / 0.5656 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3993, allocations: 105.6 kB / 0.5657 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.3994, allocations: 23.38 kB / 0.5657 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3994, allocations: 25.38 kB / 0.5657 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3997, allocations: 172.2 kB / 0.5659 GB, free: 30.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3997, allocations: 0 / 0.5659 GB, free: 30.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3997, allocations: 0.5312 kB / 0.5659 GB, free: 30.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3997, allocations: 2 kB / 0.5659 GB, free: 30.99 MB / 446.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.0005314/0.4002, allocations: 352 kB / 0.5662 GB, free: 30.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4002, allocations: 8.938 kB / 0.5662 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.4003, allocations: 15.19 kB / 0.5663 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.4005, allocations: 156.3 kB / 0.5664 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4005, allocations: 11.47 kB / 0.5664 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4006, allocations: 0.5 kB / 0.5664 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.4007, allocations: 100.1 kB / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4008, allocations: 0 / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4008, allocations: 0 / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4008, allocations: 0 / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.4009, allocations: 21.28 kB / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.4012, allocations: 233.9 kB / 0.5668 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4013, allocations: 58.58 kB / 0.5668 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.4014, allocations: 20.98 kB / 0.5668 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4014, allocations: 0 / 0.5668 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4015, allocations: 68.62 kB / 0.5669 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4015, allocations: 3.938 kB / 0.5669 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.4021, allocations: 190.3 kB / 0.5671 GB, free: 29.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4021, allocations: 80.2 kB / 0.5672 GB, free: 29.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4023, allocations: 176 kB / 0.5673 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4023, allocations: 25.7 kB / 0.5674 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.4023, allocations: 100.6 kB / 0.5675 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4024, allocations: 30.03 kB / 0.5675 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4024, allocations: 23.28 kB / 0.5675 GB, free: 29.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.4025, allocations: 320.9 kB / 0.5678 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.4025, allocations: 26.31 kB / 0.5678 GB, free: 29.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.4026, allocations: 70.11 kB / 0.5679 GB, free: 29.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4027, allocations: 60.06 kB / 0.568 GB, free: 29.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4027, allocations: 3.938 kB / 0.568 GB, free: 29.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.4028, allocations: 96.59 kB / 0.5681 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4028, allocations: 6.031 kB / 0.5681 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4028, allocations: 1.281 kB / 0.5681 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4029, allocations: 3.938 kB / 0.5681 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.403, allocations: 23.36 kB / 0.5681 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.403, allocations: 3.844 kB / 0.5681 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.403, allocations: 7.156 kB / 0.5681 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.403, allocations: 1.719 kB / 0.5681 GB, free: 29.1 MB / 446.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 7.871e-05/0.4031, allocations: 123 kB / 0.5682 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.4031, allocations: 7.016 kB / 0.5682 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.4034, allocations: 123.8 kB / 0.5683 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4034, allocations: 3.062 kB / 0.5683 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4034, allocations: 0 / 0.5683 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4034, allocations: 4.438 kB / 0.5683 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.4037, allocations: 346.7 kB / 0.5687 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4037, allocations: 7.453 kB / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.4038, allocations: 9.062 kB / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4038, allocations: 3.75 kB / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4038, allocations: 7 kB / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4038, allocations: 80 / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4038, allocations: 3.984 kB / 0.5687 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.404, allocations: 217.3 kB / 0.5689 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.404, allocations: 17 kB / 0.5689 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.404, allocations: 7.875 kB / 0.5689 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.4041, allocations: 7 kB / 0.5689 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.4041, allocations: 10.25 kB / 0.569 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4042, allocations: 3.031 kB / 0.569 GB, free: 28.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.4042, allocations: 134.5 kB / 0.5691 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4042, allocations: 0 / 0.5691 GB, free: 28.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.4045, allocations: 54.98 kB / 0.5691 GB, free: 28.3 MB / 446.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.002018/0.4066, allocations: 0.5802 MB / 0.5697 GB, free: 28.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.4068, allocations: 67.58 kB / 0.5698 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4068, allocations: 3 kB / 0.5698 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.4068, allocations: 29.48 kB / 0.5698 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.4072, allocations: 26.64 kB / 0.5698 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.4076, allocations: 233.7 kB / 0.5701 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.431e-05/0.4077, allocations: 87.06 kB / 0.5701 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.4077, allocations: 27.84 kB / 0.5702 GB, free: 27.74 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4077, allocations: 0 / 0.5702 GB, free: 27.74 MB / 446.1 MB Notification: Performance of Templates: time 0.005018/0.4127, allocations: 2.427 MB / 0.5725 GB, free: 27.46 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.309358593076468]