Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001004/0.001004, 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.001075/0.001075, allocations: 167 kB / 24.84 MB, free: 9.293 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.017/1.017, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1498/0.1498, 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.672e-05, allocations: 4.281 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002197/0.002224, allocations: 1.599 MB / 350.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004703/0.002694, allocations: 311.4 kB / 350.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.002747, allocations: 0 / 350.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.003034, allocations: 95.69 kB / 350.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.003217, allocations: 71.66 kB / 351 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.003425, allocations: 71.84 kB / 351.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.00357, allocations: 63.83 kB / 351.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.00367, allocations: 15.92 kB / 351.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.003738, allocations: 39.89 kB / 351.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003842, allocations: 51.88 kB / 351.2 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003864, allocations: 4 kB / 351.2 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.00394, allocations: 27.92 kB / 351.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.003989, allocations: 19.92 kB / 351.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.004014, allocations: 19.92 kB / 351.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004165, allocations: 75.75 kB / 351.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004168, allocations: 0 / 351.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.00417, allocations: 0 / 351.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.004177, allocations: 3.938 kB / 351.4 MB, free: 6.703 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004001/0.004578, allocations: 439.9 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.00462, allocations: 8.031 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.00466, allocations: 12.84 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004803, allocations: 141.8 kB / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.004816, allocations: 4.375 kB / 352 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.004838, allocations: 384 / 352 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.00494, allocations: 58.95 kB / 352 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.004951, allocations: 192 / 352 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.00496, allocations: 4.125 kB / 352 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.004964, allocations: 0 / 352 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.004987, allocations: 7.938 kB / 352 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.005218, allocations: 268.3 kB / 352.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.005362, allocations: 43.05 kB / 352.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.005377, allocations: 7.688 kB / 352.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.005396, allocations: 4 kB / 352.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.005412, allocations: 41.27 kB / 352.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.005414, allocations: 7.984 kB / 352.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002993/0.005713, allocations: 85.66 kB / 352.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.005735, allocations: 59.34 kB / 352.5 MB, free: 5.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.00582, allocations: 230.6 kB / 352.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.005825, allocations: 25.7 kB / 352.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.005863, allocations: 158.8 kB / 352.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.005882, allocations: 15.83 kB / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.005905, allocations: 23.38 kB / 353 MB, free: 4.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.005952, allocations: 0.5 MB / 353.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.005963, allocations: 0 / 353.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.005973, allocations: 7.984 kB / 353.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.005998, allocations: 27.67 kB / 353.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.005999, allocations: 4 kB / 353.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.14e-05/0.00606, allocations: 61.48 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006072, allocations: 11.98 kB / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006077, allocations: 0 / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.006085, allocations: 0 / 353.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.006125, allocations: 8 kB / 353.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.006128, allocations: 0 / 353.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.006144, allocations: 4 kB / 353.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006148, allocations: 0 / 353.6 MB, free: 4.27 MB / 282.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 (5): * Single equations (assignments): 5 * 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.661e-05/0.006195, allocations: 164.6 kB / 353.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.006215, allocations: 15.89 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.006305, allocations: 63.03 kB / 353.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006307, allocations: 4 kB / 353.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.00631, allocations: 4.062 kB / 353.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006313, allocations: 3.984 kB / 353.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.006502, allocations: 302 kB / 354.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006504, allocations: 0 / 354.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.006535, allocations: 16 kB / 354.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006537, allocations: 0 / 354.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.006542, allocations: 4 kB / 354.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.006543, allocations: 0 / 354.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006545, allocations: 0 / 354.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.095e-05/0.006616, allocations: 207.8 kB / 354.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006624, allocations: 7.953 kB / 354.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.006635, allocations: 3.984 kB / 354.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.006663, allocations: 4 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.006696, allocations: 4 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006699, allocations: 4 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.006747, allocations: 172.1 kB / 354.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006747, allocations: 0 / 354.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.006915, allocations: 16 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000841/0.007756, allocations: 382.6 kB / 355 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.00785, allocations: 27.62 kB / 355 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.007854, allocations: 0 / 355 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.007874, allocations: 19.67 kB / 355 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.008106, allocations: 29.31 kB / 355 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.008388, allocations: 206.6 kB / 355.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.008417, allocations: 71.33 kB / 355.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.008444, allocations: 4 kB / 355.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.008489, allocations: 90.12 kB / 355.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.011e-06/0.00849, allocations: 0 / 355.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.002894/0.01138, allocations: 1.274 MB / 356.7 MB, free: 1.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.370106637943536]