Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.001914/0.001914, allocations: 78.72 kB / 19.93 MB, free: 1.77 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.002204/0.002204, allocations: 169.9 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2303/0.2303, allocations: 32.38 MB / 269.6 MB, free: 4.648 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.848e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003037/0.003066, allocations: 1.639 MB / 409.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.00453, allocations: 0.7607 MB / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.004605, allocations: 4 kB / 409.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.004976, allocations: 51.75 kB / 409.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.00523, allocations: 59.69 kB / 410 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.005481, allocations: 87.08 kB / 410 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.005677, allocations: 99.62 kB / 410.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.005723, allocations: 7.922 kB / 410.1 MB, free: 212 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.00584, allocations: 47.84 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.005918, allocations: 23.92 kB / 410.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.005941, allocations: 4 kB / 410.2 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.006025, allocations: 35.91 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.006115, allocations: 27.92 kB / 410.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.006166, allocations: 19.88 kB / 410.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.006388, allocations: 111.6 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006392, allocations: 0 / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.006393, allocations: 0 / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.006403, allocations: 7.984 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005653/0.006968, allocations: 353.5 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.007005, allocations: 12.03 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.007059, allocations: 16.84 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.007328, allocations: 161.2 kB / 410.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.007341, allocations: 384 / 410.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.007355, allocations: 8.359 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.007511, allocations: 46.23 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.007524, allocations: 3.938 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.007535, allocations: 0 / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.00754, allocations: 4 kB / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.007612, allocations: 19.92 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.007803, allocations: 137.3 kB / 411.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.007981, allocations: 54.61 kB / 411.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.008043, allocations: 20.84 kB / 411.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.008052, allocations: 0 / 411.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.008207, allocations: 67.33 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.008208, allocations: 0 / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000332/0.00854, allocations: 113.5 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.008591, allocations: 51.41 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.00887, allocations: 263.7 kB / 411.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.008959, allocations: 29.7 kB / 411.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.009043, allocations: 108.1 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.009076, allocations: 15.84 kB / 411.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.009119, allocations: 21.72 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003308/0.00945, allocations: 326.8 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.009512, allocations: 19.97 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.009577, allocations: 33.64 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.009683, allocations: 41.7 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009685, allocations: 8 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/0.009864, allocations: 85.53 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.009878, allocations: 4 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.009884, allocations: 7.875 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.009896, allocations: 0 / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.009986, allocations: 15.98 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009991, allocations: 0 / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.01004, allocations: 4 kB / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01005, allocations: 4 kB / 412.4 MB, free: 13.73 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001181/0.01017, allocations: 133.9 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.01019, allocations: 15.84 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.01044, allocations: 110.7 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01045, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01045, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01045, allocations: 0 / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.01063, allocations: 145.2 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01063, allocations: 384 / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.01066, allocations: 8 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01067, allocations: 0 / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01068, allocations: 4 kB / 412.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01068, allocations: 7.938 kB / 412.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01068, allocations: 4 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.01089, allocations: 120.9 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01091, allocations: 7.953 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.01094, allocations: 4 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.01098, allocations: 3.938 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.01102, allocations: 11.97 kB / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01103, allocations: 4 kB / 413 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.01126, allocations: 199.3 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01126, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.01149, allocations: 27.92 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001656/0.01314, allocations: 431.5 kB / 413.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.01332, allocations: 43.92 kB / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01333, allocations: 0 / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.01339, allocations: 19.98 kB / 413.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.01368, allocations: 39.03 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.01426, allocations: 261.8 kB / 414 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01437, allocations: 108.7 kB / 414.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01441, allocations: 16.47 kB / 414.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.01445, allocations: 16.5 kB / 414.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01445, allocations: 0 / 414.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Templates: time 0.006069/0.02052, allocations: 1.615 MB / 415.8 MB, free: 10.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.345277577638626]