Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001894/0.001894, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.002126/0.002126, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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 1.05/1.05, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1264/0.1264, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.872e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002185/0.002213, allocations: 1.737 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.003128, allocations: 0.7999 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.003206, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.003528, allocations: 83.62 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.003756, allocations: 75.67 kB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003976, allocations: 91.69 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004132, allocations: 107.6 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.004221, allocations: 16.2 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.004297, allocations: 55.83 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.004382, allocations: 51.88 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.004399, allocations: 4 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.004506, allocations: 47.86 kB / 350.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.004557, allocations: 27.91 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.004596, allocations: 23.86 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.004779, allocations: 99.66 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004783, allocations: 0 / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004784, allocations: 4 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00479, allocations: 0 / 351 MB, free: 6.137 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.0004766/0.005267, allocations: 451.8 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.005304, allocations: 8.031 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.005353, allocations: 12.89 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005489, allocations: 156.3 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.005508, allocations: 12.31 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.005527, allocations: 384 / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.005645, allocations: 62.94 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005656, allocations: 3.938 kB / 351.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.005665, allocations: 4 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.005673, allocations: 0 / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.005704, allocations: 11.98 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.00597, allocations: 287.8 kB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.00607, allocations: 55.16 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.006096, allocations: 23.61 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.006108, allocations: 0 / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.735e-05/0.006205, allocations: 72.98 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006206, allocations: 0 / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003858/0.006592, allocations: 153.7 kB / 352.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.006618, allocations: 59.34 kB / 352.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.006723, allocations: 242.6 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.006732, allocations: 25.7 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.006769, allocations: 154.9 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.006795, allocations: 27.84 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.006824, allocations: 31.36 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.006871, allocations: 0.4962 MB / 353.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.006895, allocations: 12 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.006924, allocations: 31.36 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.006974, allocations: 67.3 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006975, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.151e-05/0.007067, allocations: 85.59 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007077, allocations: 4 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007082, allocations: 4 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.007095, allocations: 0 / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.007167, allocations: 19.92 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007172, allocations: 0 / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.0072, allocations: 8 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.007205, allocations: 8.031 kB / 353.5 MB, free: 3.363 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 4.807e-05/0.007253, allocations: 160.5 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.007266, allocations: 15.91 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.007401, allocations: 111.2 kB / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007404, allocations: 3.938 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007407, allocations: 0 / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00741, allocations: 4 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.007623, allocations: 396.9 kB / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007625, allocations: 0 / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.007649, allocations: 12.03 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007652, allocations: 4 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.007661, allocations: 4 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.007663, allocations: 0 / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.007664, allocations: 3.938 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.007768, allocations: 259.5 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.007778, allocations: 15.83 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.007794, allocations: 4 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.007833, allocations: 4 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.007863, allocations: 7.984 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.007876, allocations: 8 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.121e-05/0.007927, allocations: 179.1 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007927, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000166/0.008093, allocations: 27.98 kB / 354.7 MB, free: 2.078 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.0008541/0.008947, allocations: 432.5 kB / 355.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.009067, allocations: 59.53 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009069, allocations: 0 / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.009102, allocations: 31.61 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.009328, allocations: 40.31 kB / 355.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.009634, allocations: 225.1 kB / 355.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.009666, allocations: 67.33 kB / 355.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.009702, allocations: 16.47 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.00973, allocations: 16.5 kB / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009731, allocations: 0 / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.003673/0.0134, allocations: 1.992 MB / 357.6 MB, free: 15.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.2548301671631634]