Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.0009161/0.0009161, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001511/0.001511, allocations: 167.2 kB / 24.84 MB, free: 9.297 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.8978/0.8978, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1437/0.1437, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.491e-05, allocations: 5.406 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002266/0.002291, allocations: 1.726 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.003283, allocations: 0.7881 MB / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.003362, allocations: 0 / 351.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.003659, allocations: 55.75 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.003848, allocations: 59.64 kB / 351.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.004034, allocations: 87.69 kB / 351.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004184, allocations: 91.7 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.004273, allocations: 8.219 kB / 351.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.004343, allocations: 55.83 kB / 351.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.004409, allocations: 19.92 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.004425, allocations: 4 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.004502, allocations: 47.92 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.004546, allocations: 27.84 kB / 352 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.004576, allocations: 19.92 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.004727, allocations: 107.5 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00473, allocations: 4 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004732, allocations: 0 / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.004738, allocations: 0 / 352.1 MB, free: 5.984 MB / 282.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.0003592/0.005097, allocations: 455.8 kB / 352.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005129, allocations: 8.031 kB / 352.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.005167, allocations: 16.84 kB / 352.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005294, allocations: 160.4 kB / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.005309, allocations: 4.359 kB / 352.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005325, allocations: 4.375 kB / 352.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005435, allocations: 62.88 kB / 352.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.005446, allocations: 3.938 kB / 352.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.005452, allocations: 4 kB / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.005457, allocations: 0 / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.005481, allocations: 7.984 kB / 352.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.005682, allocations: 264.4 kB / 353.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.005758, allocations: 51.09 kB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005777, allocations: 23.69 kB / 353.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.005792, allocations: 0 / 353.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.682e-05/0.005869, allocations: 68.97 kB / 353.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.00587, allocations: 0 / 353.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000278/0.006148, allocations: 133.5 kB / 353.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.006173, allocations: 51.41 kB / 353.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.006263, allocations: 249.8 kB / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.006272, allocations: 29.64 kB / 353.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.00631, allocations: 154.9 kB / 353.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.006333, allocations: 35.77 kB / 353.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.006364, allocations: 23.38 kB / 353.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.006417, allocations: 0.5079 MB / 354.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.006433, allocations: 4 kB / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.006458, allocations: 35.3 kB / 354.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.006499, allocations: 43.36 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.0065, allocations: 0 / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.115e-05/0.006591, allocations: 97.52 kB / 354.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006603, allocations: 4 kB / 354.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.006609, allocations: 8.031 kB / 354.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.006619, allocations: 0 / 354.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.006682, allocations: 12 kB / 354.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006685, allocations: 0 / 354.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.006714, allocations: 7.984 kB / 354.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.00672, allocations: 0 / 354.6 MB, free: 3.277 MB / 282.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 5.973e-05/0.00678, allocations: 168.5 kB / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.006795, allocations: 19.84 kB / 354.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.006914, allocations: 103.1 kB / 354.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006917, allocations: 4 kB / 354.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006918, allocations: 4 kB / 354.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.006922, allocations: 0 / 354.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.007135, allocations: 365.5 kB / 355.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.007137, allocations: 0 / 355.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.007161, allocations: 8 kB / 355.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.007163, allocations: 0 / 355.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.007169, allocations: 4 kB / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007171, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007172, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.007271, allocations: 259.5 kB / 355.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.007281, allocations: 11.91 kB / 355.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.007304, allocations: 7.984 kB / 355.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.007343, allocations: 4 kB / 355.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.00737, allocations: 4.359 kB / 355.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.007382, allocations: 4 kB / 355.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.007426, allocations: 175.1 kB / 355.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007426, allocations: 0 / 355.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.007593, allocations: 27.92 kB / 355.7 MB, free: 2.051 MB / 282.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.0008501/0.008443, allocations: 449.3 kB / 356.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.785e-05/0.008541, allocations: 55.56 kB / 356.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008542, allocations: 0 / 356.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.008572, allocations: 31.62 kB / 356.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.008801, allocations: 31.91 kB / 356.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.009106, allocations: 233.5 kB / 356.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.009136, allocations: 71.27 kB / 356.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.341e-05/0.00917, allocations: 20.61 kB / 356.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.009226, allocations: 86.19 kB / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.009227, allocations: 0 / 356.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of Templates: time 0.003756/0.01298, allocations: 2.039 MB / 358.7 MB, free: 15.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.3300998001359403]