Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001133/0.001133, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002581, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001158/0.001158, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002293, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.019/1.019, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2071/1.226, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1611/0.1611, allocations: 32.34 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06939/0.2305, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.76e-05, allocations: 10.25 kB / 267.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003924/0.003952, allocations: 1.77 MB / 269.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.005494, allocations: 0.8076 MB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.005598, allocations: 3.938 kB / 269.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.005887, allocations: 43.7 kB / 269.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.006105, allocations: 47.7 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.006497, allocations: 95.69 kB / 270.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.006711, allocations: 95.64 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.006828, allocations: 8.219 kB / 270.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.007012, allocations: 71.78 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.007142, allocations: 31.89 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.007172, allocations: 4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.007318, allocations: 43.92 kB / 270.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.007378, allocations: 15.94 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.007427, allocations: 15.94 kB / 270.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.007667, allocations: 83.67 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.143e-05/0.007688, allocations: 4 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.00769, allocations: 4 kB / 270.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.007711, allocations: 3.938 kB / 270.4 MB, free: 3.273 MB / 266.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.0006622/0.008373, allocations: 323.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.008423, allocations: 11.97 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.008482, allocations: 12.92 kB / 270.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.008697, allocations: 141.5 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.008717, allocations: 384 / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.008739, allocations: 4.375 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.0089, allocations: 65.75 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008911, allocations: 3.938 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.008919, allocations: 4 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.008926, allocations: 0 / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.008963, allocations: 8 kB / 271 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.009287, allocations: 169.8 kB / 271.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.009435, allocations: 89.36 kB / 271.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.009463, allocations: 12.86 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009477, allocations: 0 / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.009628, allocations: 70.14 kB / 271.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.00963, allocations: 4 kB / 271.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004516/0.01008, allocations: 109.5 kB / 271.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.01013, allocations: 51.41 kB / 271.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01027, allocations: 168.1 kB / 271.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.0103, allocations: 33.7 kB / 271.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.01035, allocations: 92.11 kB / 271.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.01039, allocations: 19.8 kB / 271.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.01045, allocations: 25.69 kB / 271.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01057, allocations: 326.8 kB / 272.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01068, allocations: 10.83 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.01073, allocations: 29.69 kB / 272.2 MB, free: 1.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.989e-05/0.01079, allocations: 44.59 kB / 272.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01079, allocations: 3.938 kB / 272.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001139/0.01091, allocations: 72.42 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.01093, allocations: 4 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01094, allocations: 0 / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.01095, allocations: 7.984 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.01105, allocations: 19.92 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01105, allocations: 0 / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.01109, allocations: 8.031 kB / 272.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.0111, allocations: 4 kB / 272.3 MB, free: 1.18 MB / 266.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 7.952e-05/0.01118, allocations: 112.7 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.01119, allocations: 19.92 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.01136, allocations: 70.39 kB / 272.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01136, allocations: 3.984 kB / 272.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01136, allocations: 0 / 272.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01137, allocations: 0 / 272.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.01162, allocations: 295.4 kB / 272.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01163, allocations: 32 / 272.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.01166, allocations: 12 kB / 272.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.01167, allocations: 7.953 kB / 272.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01167, allocations: 3.984 kB / 272.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.01168, allocations: 4 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01168, allocations: 0 / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01168, allocations: 0 / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.0118, allocations: 219 kB / 273.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01181, allocations: 4.375 kB / 273.1 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.01186, allocations: 3.984 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.01189, allocations: 8 kB / 273.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.01191, allocations: 12 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.962e-05/0.01195, allocations: 39.64 kB / 273.1 MB, free: 324 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01195, allocations: 0 / 273.1 MB, free: 324 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.01209, allocations: 23.94 kB / 273.2 MB, free: 300 kB / 266.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.001253/0.01335, allocations: 0.6478 MB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.212e-05/0.01343, allocations: 40.78 kB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.01344, allocations: 4 kB / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.01347, allocations: 24.84 kB / 273.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.01368, allocations: 35.91 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.01418, allocations: 214.5 kB / 274.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.01422, allocations: 71.45 kB / 274.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.01426, allocations: 12.5 kB / 274.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.01434, allocations: 75.34 kB / 274.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01434, allocations: 0 / 274.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of Templates: time 0.003621/0.01796, allocations: 2.022 MB / 276.3 MB, free: 13.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 3.0156752141192555]