Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001557/0.001557, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001734/0.001734, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2368/0.2368, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.84 kB / 0.4975 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 66.03 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003429/0.3944, allocations: 1.74 MB / 0.5636 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3965, allocations: 1.053 MB / 0.5647 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.3966, allocations: 3.938 kB / 0.5647 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.3969, allocations: 59.69 kB / 0.5647 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3973, allocations: 95.59 kB / 0.5648 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3976, allocations: 83.66 kB / 0.5649 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3978, allocations: 99.77 kB / 0.565 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3979, allocations: 7.984 kB / 0.565 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.398, allocations: 55.66 kB / 0.5651 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.3981, allocations: 31.84 kB / 0.5651 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3981, allocations: 4 kB / 0.5651 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3982, allocations: 43.98 kB / 0.5651 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.3983, allocations: 35.84 kB / 0.5652 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.3984, allocations: 35.69 kB / 0.5652 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3987, allocations: 145.8 kB / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3987, allocations: 0 / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3987, allocations: 0 / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3987, allocations: 0 / 0.5653 GB, free: 0.9297 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.0008242/0.3995, allocations: 381.2 kB / 0.5657 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3995, allocations: 12.03 kB / 0.5657 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.3996, allocations: 12.84 kB / 0.5657 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.4, allocations: 159.3 kB / 0.5659 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.4, allocations: 4.375 kB / 0.5659 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.4001, allocations: 8.125 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4003, allocations: 57.61 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.4003, allocations: 3.984 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4003, allocations: 0 / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4003, allocations: 0 / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.4004, allocations: 19.98 kB / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.4009, allocations: 283.8 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4011, allocations: 54.61 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.4011, allocations: 16.86 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4012, allocations: 0 / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.4014, allocations: 75.38 kB / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4014, allocations: 0 / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006845/0.402, allocations: 185.5 kB / 0.5666 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4021, allocations: 51.41 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.4024, allocations: 274.8 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4025, allocations: 29.7 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.4025, allocations: 112.1 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4026, allocations: 23.8 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.4026, allocations: 33.7 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4028, allocations: 326.8 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.4029, allocations: 27.92 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.4029, allocations: 41.64 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4031, allocations: 53.72 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4031, allocations: 4 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.4033, allocations: 113.5 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4033, allocations: 4 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4033, allocations: 3.938 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4033, allocations: 4 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.4034, allocations: 15.98 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4034, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4035, allocations: 11.94 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4035, allocations: 0 / 0.5676 GB, free: 14.37 MB / 414.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.0001419/0.4036, allocations: 141.8 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.4036, allocations: 15.91 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.4039, allocations: 115.2 kB / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4039, allocations: 0 / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4039, allocations: 0 / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4039, allocations: 3.938 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.4044, allocations: 378.4 kB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4044, allocations: 4.031 kB / 0.5683 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.4044, allocations: 8 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4045, allocations: 3.984 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.4045, allocations: 11.94 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4045, allocations: 0 / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4045, allocations: 3.938 kB / 0.5683 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.4047, allocations: 196.3 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.4048, allocations: 23.91 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4048, allocations: 3.938 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.4049, allocations: 7.984 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4049, allocations: 0 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4049, allocations: 4 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.4051, allocations: 208.6 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4051, allocations: 0 / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.4054, allocations: 23.94 kB / 0.5687 GB, free: 13.14 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 (8): * Single equations (assignments): 6 * 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.001747/0.4072, allocations: 477.5 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.4074, allocations: 51.97 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4074, allocations: 0 / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.4074, allocations: 35.98 kB / 0.5693 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.4078, allocations: 28.28 kB / 0.5693 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.4085, allocations: 329.3 kB / 0.5696 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4088, allocations: 0.7119 MB / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.4089, allocations: 15.5 kB / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4089, allocations: 4 kB / 0.5703 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Templates: time 0.004509/0.4134, allocations: 2.116 MB / 0.5724 GB, free: 9.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.025048334849998]