Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009955/0.0009955, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001091/0.001091, allocations: 172.2 kB / 24.92 MB, free: 9.113 MB / 18.57 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 0.99/0.99, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2763/0.2763, allocations: 32.8 MB / 294.6 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 323.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.329e-05, allocations: 8.219 kB / 323.4 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002435/0.002458, allocations: 1.748 MB / 325.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003672, allocations: 0.9974 MB / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.003738, allocations: 0 / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.004011, allocations: 63.67 kB / 326.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.004281, allocations: 107.5 kB / 326.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004454, allocations: 79.59 kB / 326.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.004604, allocations: 107.7 kB / 326.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.00464, allocations: 4.234 kB / 326.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.00473, allocations: 59.77 kB / 326.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.00481, allocations: 43.89 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004823, allocations: 4 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.004888, allocations: 31.92 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.004926, allocations: 19.92 kB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.004955, allocations: 23.86 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.005094, allocations: 87.67 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005096, allocations: 0 / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005097, allocations: 4 kB / 326.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.0051, allocations: 0 / 326.7 MB, free: 6.047 MB / 298.7 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.0003803/0.00548, allocations: 309.5 kB / 327 MB, free: 5.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.005509, allocations: 8.031 kB / 327 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.005536, allocations: 12.92 kB / 327 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.00567, allocations: 151.4 kB / 327.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.005689, allocations: 4.375 kB / 327.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.005698, allocations: 384 / 327.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.005791, allocations: 57.77 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005798, allocations: 3.938 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.005804, allocations: 0 / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005808, allocations: 4 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.005829, allocations: 11.92 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.098e-05/0.00591, allocations: 70.7 kB / 327.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.005982, allocations: 45.41 kB / 327.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.006001, allocations: 20.78 kB / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.006011, allocations: 0 / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.633e-05/0.006087, allocations: 62.22 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.006089, allocations: 0 / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001032/0.006192, allocations: 53.62 kB / 327.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.00622, allocations: 63.33 kB / 327.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.006315, allocations: 169.5 kB / 327.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.006329, allocations: 37.7 kB / 327.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.00636, allocations: 100.1 kB / 327.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.006388, allocations: 15.84 kB / 327.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.006413, allocations: 17.72 kB / 327.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.006484, allocations: 326.8 kB / 328.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.006496, allocations: 6.828 kB / 328.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.006516, allocations: 21.69 kB / 328.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.006552, allocations: 43.28 kB / 328.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006554, allocations: 0 / 328.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.382e-05/0.006618, allocations: 68.44 kB / 328.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006628, allocations: 4 kB / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006632, allocations: 0 / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.006641, allocations: 0 / 328.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.006693, allocations: 15.94 kB / 328.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006696, allocations: 0 / 328.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.006722, allocations: 4.312 kB / 328.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.006728, allocations: 0 / 328.4 MB, free: 4.195 MB / 298.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 (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 6.211e-05/0.00679, allocations: 121.5 kB / 328.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.006799, allocations: 4 kB / 328.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.00688, allocations: 70.8 kB / 328.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006883, allocations: 4 kB / 328.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006885, allocations: 3.938 kB / 328.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006888, allocations: 0 / 328.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.827e-05/0.006956, allocations: 85.84 kB / 328.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006957, allocations: 0 / 328.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.006975, allocations: 8 kB / 328.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006976, allocations: 0 / 328.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.006981, allocations: 4 kB / 328.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006982, allocations: 0 / 328.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006982, allocations: 3.938 kB / 328.7 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.007049, allocations: 86.7 kB / 328.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007061, allocations: 15.84 kB / 328.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007074, allocations: 4 kB / 328.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.007094, allocations: 7.984 kB / 328.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.007115, allocations: 0 / 328.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.007126, allocations: 4 kB / 328.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.007166, allocations: 51.58 kB / 328.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007166, allocations: 4 kB / 328.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.007288, allocations: 15.94 kB / 328.9 MB, free: 3.652 MB / 298.7 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.001069/0.008356, allocations: 0.5032 MB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.008435, allocations: 28.8 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.008437, allocations: 4 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.008463, allocations: 16.84 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.008597, allocations: 28.23 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.008869, allocations: 202.8 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.008901, allocations: 63.34 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.008931, allocations: 20.53 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.008987, allocations: 63.36 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008988, allocations: 0 / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of Templates: time 0.003562/0.01255, allocations: 1.784 MB / 331.6 MB, free: 1.184 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.838430925272405]