Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.001492/0.001492, 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.004499/0.004499, allocations: 166.9 kB / 24.84 MB, free: 8.711 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.06/1.06, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.234/0.234, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.602e-05, allocations: 4.281 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002109/0.002135, allocations: 1.73 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.003009, allocations: 0.7842 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.003082, allocations: 4 kB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.003383, allocations: 47.75 kB / 351.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.003576, allocations: 63.69 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.003776, allocations: 83.7 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.003942, allocations: 99.62 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.004035, allocations: 8.234 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.004123, allocations: 47.83 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.004209, allocations: 27.91 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004229, allocations: 4 kB / 351.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.004318, allocations: 47.92 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.00438, allocations: 31.86 kB / 352 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.004419, allocations: 19.92 kB / 352 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.004624, allocations: 103.6 kB / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004626, allocations: 0 / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004627, allocations: 0 / 352.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.004632, allocations: 0 / 352.1 MB, free: 5.977 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.0004495/0.005082, allocations: 459.7 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.005121, allocations: 12.03 kB / 352.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.005158, allocations: 12.84 kB / 352.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.005318, allocations: 160.4 kB / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.005337, allocations: 384 / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.005354, allocations: 384 / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.005478, allocations: 66.88 kB / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00549, allocations: 3.938 kB / 352.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005499, allocations: 3.984 kB / 352.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005505, allocations: 0 / 352.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.005538, allocations: 8 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.005809, allocations: 264.4 kB / 353.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005916, allocations: 59.09 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.005942, allocations: 19.67 kB / 353.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.005956, allocations: 4 kB / 353.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.006058, allocations: 64.97 kB / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.006059, allocations: 0 / 353.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003707/0.00643, allocations: 137.5 kB / 353.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.00646, allocations: 55.41 kB / 353.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.006592, allocations: 237.8 kB / 353.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.006604, allocations: 29.7 kB / 353.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.006659, allocations: 158.8 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.006688, allocations: 27.78 kB / 353.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.006727, allocations: 31.36 kB / 353.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.006799, allocations: 0.5001 MB / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.00682, allocations: 8 kB / 354.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.006854, allocations: 43.22 kB / 354.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.006906, allocations: 39.36 kB / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006907, allocations: 0 / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001184/0.007026, allocations: 101.5 kB / 354.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007037, allocations: 4 kB / 354.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.007042, allocations: 4.031 kB / 354.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.007053, allocations: 0 / 354.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.00713, allocations: 19.98 kB / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.007133, allocations: 0 / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.007174, allocations: 0 / 354.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.007183, allocations: 8 kB / 354.6 MB, free: 3.258 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 6.965e-05/0.007252, allocations: 160.5 kB / 354.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.007279, allocations: 19.84 kB / 354.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.007461, allocations: 103.1 kB / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.007463, allocations: 4 kB / 354.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007466, allocations: 0 / 354.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.007472, allocations: 0 / 354.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.007787, allocations: 369.5 kB / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007789, allocations: 0 / 355.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.007826, allocations: 12 kB / 355.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007829, allocations: 0 / 355.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.007836, allocations: 384 / 355.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.007839, allocations: 4 kB / 355.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.007841, allocations: 4 kB / 355.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.00799, allocations: 255.5 kB / 355.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.008008, allocations: 15.89 kB / 355.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008025, allocations: 4 kB / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.008089, allocations: 0 / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.008124, allocations: 11.98 kB / 355.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.00814, allocations: 4 kB / 355.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.731e-05/0.008218, allocations: 172.2 kB / 355.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008218, allocations: 4 kB / 355.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.008509, allocations: 23.94 kB / 355.7 MB, free: 2.035 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.001231/0.00974, allocations: 443.8 kB / 356.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.009868, allocations: 59.56 kB / 356.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.00987, allocations: 0 / 356.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.009911, allocations: 27.61 kB / 356.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01024, allocations: 31.92 kB / 356.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01061, allocations: 233.5 kB / 356.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.01065, allocations: 71.28 kB / 356.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.01069, allocations: 16.61 kB / 356.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.01076, allocations: 90.19 kB / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01077, allocations: 0 / 356.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of Templates: time 0.004761/0.01553, allocations: 2.049 MB / 358.7 MB, free: 15.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.467752161901444]