Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001106/0.001106, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001094/0.001094, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.133e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003582/0.003613, allocations: 1.723 MB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.004363, allocations: 0.5491 MB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.004421, allocations: 0 / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.004652, allocations: 43.8 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.004947, allocations: 103.5 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.005224, allocations: 131.5 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.005393, allocations: 83.83 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.005482, allocations: 8.234 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.005549, allocations: 51.73 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.005631, allocations: 43.89 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.005644, allocations: 4 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.005736, allocations: 47.92 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.005801, allocations: 23.92 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.005829, allocations: 23.91 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.005985, allocations: 87.66 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005988, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005989, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005993, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003995/0.006392, allocations: 432 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006432, allocations: 12.03 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.006477, allocations: 20.84 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.006606, allocations: 145 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.006615, allocations: 4.312 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.006641, allocations: 8.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.006762, allocations: 66.69 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.00677, allocations: 0 / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006779, allocations: 7.938 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006786, allocations: 0 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.006822, allocations: 11.98 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.007124, allocations: 307.6 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.007327, allocations: 47.05 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.007353, allocations: 15.67 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.007374, allocations: 4.031 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.007395, allocations: 37.39 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.007396, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005963/0.007993, allocations: 241.8 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.008022, allocations: 59.41 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.008144, allocations: 216.9 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.008154, allocations: 25.7 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.008209, allocations: 150.8 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.008251, allocations: 39.69 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.008296, allocations: 35.36 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.008409, allocations: 496.1 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.008442, allocations: 23.92 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.008469, allocations: 19.92 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.00853, allocations: 51.95 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008531, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001102/0.008641, allocations: 89.58 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008654, allocations: 8 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.008658, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.008673, allocations: 0 / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.008743, allocations: 31.86 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.008747, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.008772, allocations: 7.938 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.008778, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.847e-05/0.008847, allocations: 168.6 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.00887, allocations: 11.95 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.009035, allocations: 110.4 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.009037, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.009042, allocations: 0 / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.009046, allocations: 3.938 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.009375, allocations: 404.7 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009377, allocations: 0 / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.009433, allocations: 31.92 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.009437, allocations: 8.047 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.009446, allocations: 7.938 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.009449, allocations: 4.125 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009451, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.0096, allocations: 255.2 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.00961, allocations: 11.91 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009625, allocations: 11.94 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.009668, allocations: 4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.009704, allocations: 7.984 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.009711, allocations: 11.98 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.009775, allocations: 157.5 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009775, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.009958, allocations: 27.92 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009576/0.01092, allocations: 430.7 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.01105, allocations: 59.59 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01105, allocations: 4 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.0111, allocations: 35.83 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01134, allocations: 32.05 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.01173, allocations: 253.5 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.01178, allocations: 67.34 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.243e-05/0.01182, allocations: 20.47 kB / 385.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.01185, allocations: 20.5 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01185, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of Templates: time 0.003441/0.0153, allocations: 1.583 MB / 387.2 MB, free: 9.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.3281181189231575]