Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 199.7 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.304/1.304, allocations: 226.6 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007661/0.0007662, allocations: 95.91 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3165/0.3165, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2762, allocations: 62.96 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001566/0.2778, allocations: 1.333 MB / 0.5172 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.2785, allocations: 0.5028 MB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.2786, allocations: 0 / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.2789, allocations: 94.06 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2791, allocations: 94.23 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.2793, allocations: 73.72 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.2795, allocations: 88.09 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2796, allocations: 24.17 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.2796, allocations: 36.16 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.2797, allocations: 49.44 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2797, allocations: 0 / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.2798, allocations: 42.25 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.2799, allocations: 23.03 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2799, allocations: 62.77 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.28, allocations: 83.28 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.28, allocations: 0 / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2801, allocations: 4 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.2801, allocations: 2.625 kB / 0.5183 GB, free: 35.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000353/0.2804, allocations: 416.9 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2805, allocations: 8.688 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2805, allocations: 14.53 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2806, allocations: 213.1 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2807, allocations: 3.031 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.2807, allocations: 9.719 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2808, allocations: 72.34 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2808, allocations: 7.906 kB / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2809, allocations: 0 / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2809, allocations: 2.844 kB / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.281, allocations: 44.28 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.2813, allocations: 328.2 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2814, allocations: 61.72 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.2815, allocations: 28.36 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2815, allocations: 3.938 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2815, allocations: 45.58 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2815, allocations: 0 / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008774/0.2824, allocations: 335.6 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.2825, allocations: 58.41 kB / 0.5199 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2826, allocations: 241.8 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2826, allocations: 29.7 kB / 0.5202 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.2827, allocations: 113.3 kB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.2827, allocations: 48.47 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.2827, allocations: 0 / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.2828, allocations: 333.1 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.2829, allocations: 34.88 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.2829, allocations: 44.84 kB / 0.5207 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2831, allocations: 99.06 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2831, allocations: 0 / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/0.2833, allocations: 145 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2834, allocations: 5.062 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2834, allocations: 0 / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2834, allocations: 6.594 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2835, allocations: 28.75 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2835, allocations: 0 / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.2836, allocations: 9.844 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2836, allocations: 6.875 kB / 0.521 GB, free: 33.54 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 (13): * Single equations (assignments): 13 * 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 7.124e-05/0.2836, allocations: 135.5 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2837, allocations: 13 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.284, allocations: 171.8 kB / 0.5213 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.284, allocations: 3.938 kB / 0.5213 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.284, allocations: 0 / 0.5213 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.284, allocations: 7.031 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.2844, allocations: 485.1 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2845, allocations: 0 / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.044e-05/0.2845, allocations: 28.02 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2846, allocations: 0 / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.2846, allocations: 10.27 kB / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2846, allocations: 0 / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2846, allocations: 0 / 0.5218 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.2848, allocations: 255 kB / 0.5221 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.2849, allocations: 90.7 kB / 0.5221 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2849, allocations: 3.422 kB / 0.5221 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.285, allocations: 13.94 kB / 0.5222 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.285, allocations: 12.53 kB / 0.5222 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.285, allocations: 3.031 kB / 0.5222 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.2852, allocations: 182.4 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2852, allocations: 0 / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.2854, allocations: 25.05 kB / 0.5224 GB, free: 32.54 MB / 378.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 (13): * Single equations (assignments): 13 * 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.0008992/0.2863, allocations: 464.4 kB / 0.5228 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.2866, allocations: 104.9 kB / 0.5229 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2866, allocations: 4 kB / 0.5229 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/0.2867, allocations: 62.22 kB / 0.523 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.287, allocations: 18.28 kB / 0.523 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.2875, allocations: 367.2 kB / 0.5233 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2876, allocations: 0.7188 MB / 0.524 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.2876, allocations: 20.19 kB / 0.5241 GB, free: 31.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2877, allocations: 10.41 kB / 0.5241 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003/0.2907, allocations: 2.024 MB / 0.526 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches