Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001117/0.001117, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001819/0.002936, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001178/0.001178, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.0028, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9919/0.9919, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1753/1.167, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1342/0.1342, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02695/0.1611, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.579e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001959/0.001975, allocations: 1.651 MB / 268.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.00241, allocations: 339.3 kB / 269.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.002458, allocations: 4 kB / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.002644, allocations: 95.69 kB / 269.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.002751, allocations: 79.59 kB / 269.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.002943, allocations: 99.72 kB / 269.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003091, allocations: 79.81 kB / 269.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.00317, allocations: 16.11 kB / 269.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.003267, allocations: 63.83 kB / 269.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.003361, allocations: 59.86 kB / 269.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.003374, allocations: 0 / 269.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.003437, allocations: 35.94 kB / 269.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.003475, allocations: 19.92 kB / 269.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.0035, allocations: 11.94 kB / 269.8 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003641, allocations: 79.69 kB / 269.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.003656, allocations: 4 kB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003657, allocations: 0 / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.00367, allocations: 0 / 269.8 MB, free: 3.883 MB / 266.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.0003593/0.00403, allocations: 339.7 kB / 270.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004061, allocations: 12.03 kB / 270.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.00409, allocations: 12.92 kB / 270.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.004216, allocations: 141.6 kB / 270.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.004227, allocations: 4.375 kB / 270.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.004244, allocations: 4.375 kB / 270.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.00434, allocations: 76.59 kB / 270.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004348, allocations: 4.188 kB / 270.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004356, allocations: 3.938 kB / 270.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004361, allocations: 0 / 270.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.004388, allocations: 11.98 kB / 270.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.004632, allocations: 267.2 kB / 270.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.004797, allocations: 66.78 kB / 270.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.00482, allocations: 21.89 kB / 270.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.004836, allocations: 3.938 kB / 270.8 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.00486, allocations: 42.5 kB / 270.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.004861, allocations: 0 / 270.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003375/0.005199, allocations: 129.7 kB / 271 MB, free: 2.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.005241, allocations: 77.11 kB / 271 MB, free: 2.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.005358, allocations: 188.3 kB / 271.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.005372, allocations: 29.7 kB / 271.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.005408, allocations: 96.06 kB / 271.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.005438, allocations: 35.72 kB / 271.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.005467, allocations: 21.72 kB / 271.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.005562, allocations: 326.8 kB / 271.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.005578, allocations: 7.984 kB / 271.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.005603, allocations: 25.83 kB / 271.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.005647, allocations: 44.45 kB / 271.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005649, allocations: 3.938 kB / 271.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.423e-05/0.005723, allocations: 69.61 kB / 271.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005735, allocations: 4 kB / 271.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.00574, allocations: 4 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.00575, allocations: 4 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.005808, allocations: 19.98 kB / 271.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005811, allocations: 0 / 271.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.005833, allocations: 11.94 kB / 271.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.005838, allocations: 0 / 271.9 MB, free: 1.613 MB / 266.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: 0 () * 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.702e-05/0.005905, allocations: 124.5 kB / 272 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.005942, allocations: 11.98 kB / 272 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.006058, allocations: 90.83 kB / 272.1 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00606, allocations: 4 kB / 272.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.006063, allocations: 4 kB / 272.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006067, allocations: 0 / 272.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.006352, allocations: 334.7 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006354, allocations: 4 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.006397, allocations: 23.98 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.006408, allocations: 11.91 kB / 272.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.00641, allocations: 0 / 272.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.006417, allocations: 4 kB / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006418, allocations: 0 / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.00642, allocations: 8.016 kB / 272.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006541, allocations: 255.7 kB / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.006552, allocations: 0 / 272.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.006603, allocations: 4 kB / 272.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.006634, allocations: 11.92 kB / 272.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.006638, allocations: 4 kB / 272.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.006683, allocations: 59.64 kB / 272.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006683, allocations: 0 / 272.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.006852, allocations: 23.94 kB / 272.9 MB, free: 0.5898 MB / 266.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 (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 Backend phase and start with SimCode phase: time 0.001117/0.007969, allocations: 0.5354 MB / 273.4 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.008076, allocations: 44.83 kB / 273.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.008086, allocations: 7.922 kB / 273.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.008114, allocations: 24.8 kB / 273.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.008343, allocations: 24.36 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.008923, allocations: 268.2 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.008978, allocations: 75.39 kB / 273.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.294e-05/0.009021, allocations: 16.48 kB / 273.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.009085, allocations: 67.38 kB / 273.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009086, allocations: 0 / 273.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Templates: time 0.003347/0.01243, allocations: 1.441 MB / 275.4 MB, free: 14.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.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: 2.9169296082109213]