Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.00072/0.00072, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007568/0.0007568, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.7693/0.7693, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1292/0.1292, allocations: 32.36 MB / 270.3 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.024e-05, allocations: 9.516 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00242/0.00245, allocations: 1.68 MB / 409.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.00344, allocations: 0.7763 MB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.003518, allocations: 3.938 kB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.003838, allocations: 43.81 kB / 410.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.004055, allocations: 55.7 kB / 410.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.004286, allocations: 95.62 kB / 410.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004436, allocations: 95.7 kB / 410.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.004531, allocations: 8.172 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.004615, allocations: 59.81 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.004683, allocations: 19.92 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.0047, allocations: 4 kB / 411 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.132e-05/0.004781, allocations: 47.91 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.004837, allocations: 23.86 kB / 411.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.004875, allocations: 15.94 kB / 411.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.005053, allocations: 115.6 kB / 411.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005056, allocations: 4 kB / 411.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005057, allocations: 0 / 411.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005062, allocations: 7.938 kB / 411.2 MB, free: 9.871 MB / 346.7 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.0004134/0.005476, allocations: 333.6 kB / 411.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.005515, allocations: 12.02 kB / 411.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.005555, allocations: 16.84 kB / 411.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.005785, allocations: 147.2 kB / 411.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005799, allocations: 8.375 kB / 411.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.005818, allocations: 384 / 411.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.005939, allocations: 62.17 kB / 411.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.005951, allocations: 3.938 kB / 411.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.00596, allocations: 4 kB / 411.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005965, allocations: 0 / 411.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.006017, allocations: 19.98 kB / 411.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.006571, allocations: 240.4 kB / 412.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.006698, allocations: 62.66 kB / 412.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.006731, allocations: 20.8 kB / 412.1 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006745, allocations: 3.984 kB / 412.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.006856, allocations: 67.39 kB / 412.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.006857, allocations: 0 / 412.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004133/0.00727, allocations: 185.4 kB / 412.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.007301, allocations: 51.41 kB / 412.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.007432, allocations: 203.3 kB / 412.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.007443, allocations: 25.7 kB / 412.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.007489, allocations: 116 kB / 412.8 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.007515, allocations: 27.78 kB / 412.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.007546, allocations: 17.72 kB / 412.8 MB, free: 8.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.007623, allocations: 322.8 kB / 413.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.007665, allocations: 23.98 kB / 413.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.007709, allocations: 41.7 kB / 413.2 MB, free: 7.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.007785, allocations: 65.64 kB / 413.3 MB, free: 7.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007787, allocations: 0 / 413.3 MB, free: 7.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001255/0.007912, allocations: 105.6 kB / 413.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007926, allocations: 6.656 kB / 413.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.007932, allocations: 0 / 413.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.007945, allocations: 0 / 413.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.008018, allocations: 23.92 kB / 413.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.008023, allocations: 0 / 413.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.008052, allocations: 4.219 kB / 413.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.00806, allocations: 4 kB / 413.4 MB, free: 7.512 MB / 346.7 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 8.259e-05/0.008142, allocations: 137.7 kB / 413.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.008157, allocations: 11.91 kB / 413.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.008336, allocations: 123.2 kB / 413.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.00834, allocations: 4 kB / 413.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.008345, allocations: 0 / 413.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.008351, allocations: 7.922 kB / 413.7 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.008656, allocations: 342.9 kB / 414 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.008658, allocations: 4.031 kB / 414 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.008683, allocations: 15.98 kB / 414 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008686, allocations: 384 / 414 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.008694, allocations: 0 / 414 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.008698, allocations: 8 kB / 414 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0087, allocations: 0 / 414 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.008856, allocations: 216.2 kB / 414.3 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.00887, allocations: 11.91 kB / 414.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008887, allocations: 3.984 kB / 414.3 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.008926, allocations: 4 kB / 414.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.008958, allocations: 11.98 kB / 414.3 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.008972, allocations: 4 kB / 414.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.009057, allocations: 159.9 kB / 414.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009057, allocations: 3.938 kB / 414.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000181/0.009238, allocations: 23.94 kB / 414.5 MB, free: 6.367 MB / 346.7 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.000786/0.01002, allocations: 0.4892 MB / 415 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01018, allocations: 59.91 kB / 415 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01018, allocations: 0 / 415 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.01023, allocations: 27.98 kB / 415.1 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01047, allocations: 31.91 kB / 415.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.01086, allocations: 267.7 kB / 415.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.393e-05/0.01093, allocations: 96.42 kB / 415.4 MB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.01096, allocations: 16.5 kB / 415.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.001e-06/0.01096, allocations: 0 / 415.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of Templates: time 0.002834/0.01379, allocations: 1.978 MB / 417.4 MB, free: 3.406 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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: 4.584943857975304]