Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001188/0.001188, allocations: 76.14 kB / 19.93 MB, free: 1.785 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.001327/0.001327, allocations: 166.4 kB / 23.21 MB, free: 4.906 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.605/1.605, allocations: 158.6 MB / 185 MB, free: 6.41 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.2753/0.2753, allocations: 32.37 MB / 269.6 MB, free: 4.672 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.48e-05, allocations: 4.391 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00356/0.003594, allocations: 1.674 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005205, allocations: 0.7802 MB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.00528, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.005612, allocations: 43.81 kB / 409.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.005856, allocations: 67.62 kB / 410 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.006118, allocations: 91.02 kB / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.006321, allocations: 103.7 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.006428, allocations: 8.234 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.006533, allocations: 47.78 kB / 410.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.006623, allocations: 31.89 kB / 410.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.006648, allocations: 4 kB / 410.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.006753, allocations: 43.92 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.00683, allocations: 27.86 kB / 410.4 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.006895, allocations: 20.05 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.007126, allocations: 115.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007129, allocations: 3.938 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00713, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.007134, allocations: 4 kB / 410.5 MB, free: 15.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006214/0.007756, allocations: 357.4 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.007804, allocations: 8.031 kB / 410.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.007859, allocations: 20.84 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.008178, allocations: 153.5 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.008195, allocations: 384 / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.008222, allocations: 4.375 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.008422, allocations: 54.23 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.008443, allocations: 3.938 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.008457, allocations: 0 / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.008468, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.00858, allocations: 27.92 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.009083, allocations: 236.5 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.009322, allocations: 50.67 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.009402, allocations: 28.78 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.00943, allocations: 4 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.009642, allocations: 67.33 kB / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.009644, allocations: 4 kB / 411.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007476/0.01039, allocations: 185.3 kB / 411.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.01046, allocations: 51.41 kB / 411.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.01077, allocations: 226.8 kB / 411.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.0108, allocations: 29.7 kB / 412 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01092, allocations: 108.1 kB / 412.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.01097, allocations: 35.72 kB / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.01102, allocations: 17.72 kB / 412.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.01124, allocations: 330.8 kB / 412.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.0113, allocations: 15.98 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.01138, allocations: 37.7 kB / 412.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01153, allocations: 73.58 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01153, allocations: 0 / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.01173, allocations: 105.7 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01175, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01176, allocations: 0 / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01178, allocations: 11.92 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01188, allocations: 16.12 kB / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01189, allocations: 3.984 kB / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.01194, allocations: 11.97 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01195, allocations: 0 / 412.7 MB, free: 13.43 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 (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.000142/0.01209, allocations: 140 kB / 412.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.01211, allocations: 11.91 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.01242, allocations: 123.1 kB / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01243, allocations: 0 / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01243, allocations: 0 / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01244, allocations: 0 / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.01294, allocations: 358.9 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01294, allocations: 4.031 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.01298, allocations: 8 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01299, allocations: 4 kB / 413.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.013, allocations: 3.984 kB / 413.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.013, allocations: 384 / 413.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01301, allocations: 0 / 413.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.0133, allocations: 212.2 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.01332, allocations: 15.91 kB / 413.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.01335, allocations: 8 kB / 413.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.01342, allocations: 3.984 kB / 413.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.01347, allocations: 15.92 kB / 413.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.01348, allocations: 4 kB / 413.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.01365, allocations: 176.2 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01366, allocations: 0 / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.01394, allocations: 31.92 kB / 413.8 MB, free: 12.26 MB / 350.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.001903/0.01584, allocations: 493.7 kB / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.01605, allocations: 63.91 kB / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01605, allocations: 0 / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.01613, allocations: 31.92 kB / 414.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.01649, allocations: 28.28 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.01706, allocations: 250.8 kB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01718, allocations: 104.7 kB / 414.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.278e-05/0.01723, allocations: 12.48 kB / 414.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.01727, allocations: 16.5 kB / 414.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01727, allocations: 0 / 414.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Templates: time 0.005486/0.02276, allocations: 1.844 MB / 416.7 MB, free: 9.484 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.281083643436432]