Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001087/0.001087, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002225, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007128/0.0007128, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008832/0.001596, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9356/0.9356, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09917/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2809/0.2809, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02648/0.3074, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.059e-05, allocations: 4.234 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002342/0.002383, allocations: 1.741 MB / 294.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.00319, allocations: 0.5607 MB / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.003248, allocations: 0 / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.003651, allocations: 495 kB / 295.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.003993, allocations: 311.1 kB / 296 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.004287, allocations: 135.5 kB / 296.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.004509, allocations: 167.6 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.004594, allocations: 19.97 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.004772, allocations: 151.8 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.004927, allocations: 187.7 kB / 296.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.004941, allocations: 4 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.005026, allocations: 35.92 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.005111, allocations: 87.7 kB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.005141, allocations: 35.75 kB / 296.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.005355, allocations: 191.1 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.005367, allocations: 0 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005369, allocations: 0 / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.00538, allocations: 4 kB / 296.9 MB, free: 2.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005255/0.005905, allocations: 0.5966 MB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.005934, allocations: 8.031 kB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.005978, allocations: 24.91 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.006162, allocations: 242 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.006171, allocations: 4.375 kB / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.006194, allocations: 8.375 kB / 297.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.006289, allocations: 54.95 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006297, allocations: 192 / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.006305, allocations: 4.125 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006311, allocations: 4 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.006332, allocations: 7.984 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.006533, allocations: 164.2 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.006669, allocations: 34.62 kB / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.006681, allocations: 4.859 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.006698, allocations: 8 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.006721, allocations: 38.5 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006722, allocations: 0 / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002848/0.007007, allocations: 101.5 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.007034, allocations: 55.41 kB / 298.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.007342, allocations: 0.5282 MB / 298.8 MB, free: 72 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007354, allocations: 25.7 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.007423, allocations: 141.3 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.007442, allocations: 15.84 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.007471, allocations: 17.72 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.007562, allocations: 362.7 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.007576, allocations: 7.938 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.007585, allocations: 4 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.007615, allocations: 25.03 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007616, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.752e-05/0.007684, allocations: 69.59 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.007695, allocations: 4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007699, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007711, allocations: 4 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.007763, allocations: 11.94 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007767, allocations: 3.984 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.007792, allocations: 8 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.007796, allocations: 0 / 299.5 MB, free: 15.35 MB / 298.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 6.605e-05/0.007862, allocations: 108.7 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.007887, allocations: 31.91 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.008001, allocations: 85.22 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008004, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.008006, allocations: 4 kB / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008009, allocations: 0 / 299.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.008227, allocations: 274.5 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008228, allocations: 4.281 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.008263, allocations: 12 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.008285, allocations: 35.7 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008288, allocations: 3.984 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.008294, allocations: 4 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008295, allocations: 0 / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.008297, allocations: 192 / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.203e-05/0.008379, allocations: 175.4 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.008392, allocations: 0 / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.008428, allocations: 7.938 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.008449, allocations: 0 / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.008457, allocations: 7.984 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.008622, allocations: 283.2 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008622, allocations: 0 / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.008764, allocations: 20 kB / 300.5 MB, free: 14.25 MB / 298.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.001279/0.01004, allocations: 0.5479 MB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.01012, allocations: 20.84 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.01013, allocations: 4 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.01015, allocations: 24.8 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01038, allocations: 105.2 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.01112, allocations: 0.5865 MB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.0112, allocations: 123.2 kB / 301.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.01123, allocations: 4 kB / 302 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.01128, allocations: 59.36 kB / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01128, allocations: 0 / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Templates: time 0.003904/0.01518, allocations: 1.467 MB / 303.5 MB, free: 11.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7953382562845945]