Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001057/0.001057, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002764, allocations: 449.7 kB / 10.37 MB, free: 328 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.001234/0.001234, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002848, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1274/1.164, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02807/0.3124, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.091e-05, allocations: 6.25 kB / 290.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002431/0.002452, allocations: 1.747 MB / 292.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.003326, allocations: 0.567 MB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.003385, allocations: 0 / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.00383, allocations: 490.3 kB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.004182, allocations: 311.1 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.004459, allocations: 131.6 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.004661, allocations: 175.6 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.004741, allocations: 15.98 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.004907, allocations: 155.8 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.00508, allocations: 191.7 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.005095, allocations: 4 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.0052, allocations: 59.83 kB / 294.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.005291, allocations: 87.67 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.005327, allocations: 35.75 kB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.005583, allocations: 203.2 kB / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-05/0.005607, allocations: 0 / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.00561, allocations: 0 / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.005627, allocations: 0 / 294.8 MB, free: 4.117 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006858/0.006313, allocations: 0.6116 MB / 295.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.006352, allocations: 12.02 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.006399, allocations: 24.86 kB / 295.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.006628, allocations: 242 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.006642, allocations: 12.38 kB / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.006663, allocations: 4.375 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006775, allocations: 58.94 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.006782, allocations: 192 / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.006791, allocations: 4.125 kB / 295.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.006796, allocations: 4 kB / 295.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.006822, allocations: 11.92 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.007035, allocations: 172.2 kB / 295.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.007086, allocations: 30.61 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.007103, allocations: 12.94 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.007124, allocations: 7.938 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.007142, allocations: 34.56 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007143, allocations: 0 / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000446/0.007589, allocations: 157.8 kB / 296.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.007617, allocations: 51.41 kB / 296.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.007935, allocations: 0.5283 MB / 296.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.007947, allocations: 29.7 kB / 296.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.008007, allocations: 133.3 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.008034, allocations: 39.72 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.008065, allocations: 21.72 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.008171, allocations: 366.6 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.008186, allocations: 4 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.0082, allocations: 8 kB / 297.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.008238, allocations: 24.83 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008239, allocations: 0 / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.662e-05/0.008326, allocations: 73.88 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.008345, allocations: 11.98 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008351, allocations: 0 / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.00836, allocations: 3.938 kB / 297.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.008459, allocations: 23.94 kB / 297.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.008463, allocations: 4 kB / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.008494, allocations: 7.984 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.008504, allocations: 7.984 kB / 297.5 MB, free: 1.242 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 (8): * Single equations (assignments): 8 * 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 0.0001041/0.008608, allocations: 112.6 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.008642, allocations: 27.97 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.008815, allocations: 93.53 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.008817, allocations: 0 / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.00882, allocations: 0 / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.008825, allocations: 4 kB / 297.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.009185, allocations: 315.3 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.009188, allocations: 0 / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.00925, allocations: 12 kB / 298 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.00928, allocations: 39.7 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.009291, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.009299, allocations: 8 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009301, allocations: 0 / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.009304, allocations: 0 / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.009439, allocations: 184.3 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.009455, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.00951, allocations: 11.98 kB / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.009548, allocations: 0 / 298.3 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.009554, allocations: 4 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.009759, allocations: 283.2 kB / 298.5 MB, free: 108 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009759, allocations: 0 / 298.5 MB, free: 108 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000176/0.009935, allocations: 35.92 kB / 298.6 MB, free: 72 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001651/0.01159, allocations: 0.6231 MB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01169, allocations: 48.7 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.0117, allocations: 4 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.01173, allocations: 20.84 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01195, allocations: 45.83 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.01285, allocations: 0.6134 MB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.41e-05/0.01294, allocations: 115.3 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.278e-05/0.01298, allocations: 13.03 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.01304, allocations: 63.36 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01305, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.004272/0.01732, allocations: 1.731 MB / 301.9 MB, free: 13.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.1923308512195945]