Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.5 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 96.03 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 62.95 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00156/0.2746, allocations: 1.289 MB / 0.5171 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2758, allocations: 1.094 MB / 0.5182 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.2758, allocations: 0 / 0.5182 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.2761, allocations: 28.02 kB / 0.5182 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2763, allocations: 64.12 kB / 0.5183 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.2766, allocations: 104.4 kB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2767, allocations: 60.66 kB / 0.5184 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.2768, allocations: 13.89 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.2768, allocations: 22.53 kB / 0.5185 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.277, allocations: 30.88 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.277, allocations: 4 kB / 0.5185 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2771, allocations: 77.92 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.2772, allocations: 22.03 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2772, allocations: 40.55 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2774, allocations: 95.09 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2774, allocations: 0 / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2774, allocations: 0 / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2774, allocations: 0 / 0.5187 GB, free: 35.07 MB / 378.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.0003849/0.2778, allocations: 393.2 kB / 0.5191 GB, free: 34.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2778, allocations: 12.03 kB / 0.5191 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2779, allocations: 11.97 kB / 0.5191 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.278, allocations: 194.1 kB / 0.5193 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.278, allocations: 7.281 kB / 0.5193 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2781, allocations: 384 / 0.5193 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2782, allocations: 68.22 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2782, allocations: 0 / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2782, allocations: 6.844 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2783, allocations: 3.984 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.2783, allocations: 31.56 kB / 0.5194 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2787, allocations: 285.1 kB / 0.5197 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.2789, allocations: 49.72 kB / 0.5198 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.2789, allocations: 16.92 kB / 0.5198 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.279, allocations: 3.938 kB / 0.5198 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.279, allocations: 33.98 kB / 0.5198 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.279, allocations: 3.938 kB / 0.5198 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005113/0.2795, allocations: 159.6 kB / 0.52 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2796, allocations: 80.14 kB / 0.52 GB, free: 33.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2797, allocations: 152 kB / 0.5202 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2797, allocations: 29.7 kB / 0.5202 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.2797, allocations: 96.95 kB / 0.5203 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2798, allocations: 19.66 kB / 0.5203 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2798, allocations: 0 / 0.5203 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.2798, allocations: 324.9 kB / 0.5206 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.2799, allocations: 24.83 kB / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.28, allocations: 42.11 kB / 0.5207 GB, free: 33.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.2801, allocations: 59.08 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2801, allocations: 0 / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.2803, allocations: 95.78 kB / 0.5208 GB, free: 33.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2803, allocations: 11.56 kB / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2803, allocations: 0 / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2803, allocations: 0 / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.2804, allocations: 15.06 kB / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2804, allocations: 0 / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.2804, allocations: 9.969 kB / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2804, allocations: 7.875 kB / 0.5209 GB, free: 33.14 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.2805, allocations: 119.2 kB / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.2805, allocations: 3.156 kB / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.2807, allocations: 108.2 kB / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2807, allocations: 3.938 kB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2808, allocations: 0 / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2808, allocations: 0 / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.2811, allocations: 367.3 kB / 0.5215 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2811, allocations: 4.062 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.2812, allocations: 17.83 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2812, allocations: 0 / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2812, allocations: 2.594 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2812, allocations: 3.938 kB / 0.5215 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2812, allocations: 0 / 0.5215 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2814, allocations: 199.2 kB / 0.5217 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.2814, allocations: 87.34 kB / 0.5218 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2814, allocations: 0 / 0.5218 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2816, allocations: 13.78 kB / 0.5218 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.2817, allocations: 6.375 kB / 0.5218 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2817, allocations: 0 / 0.5218 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2818, allocations: 120.8 kB / 0.5219 GB, free: 32.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2819, allocations: 3.938 kB / 0.5219 GB, free: 32.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.2824, allocations: 37.91 kB / 0.5219 GB, free: 32.26 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.2841, allocations: 481.2 kB / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.2844, allocations: 64.59 kB / 0.5225 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2844, allocations: 4 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2846, allocations: 34.94 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.2851, allocations: 16.14 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.2856, allocations: 212.7 kB / 0.5227 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2857, allocations: 0.6958 MB / 0.5234 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.2858, allocations: 13.22 kB / 0.5234 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.2858, allocations: 3.938 kB / 0.5234 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.004605/0.2905, allocations: 1.945 MB / 0.5253 GB, free: 30.87 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches