Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009589/0.0009589, allocations: 201.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007774/0.0007774, allocations: 98.81 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 12 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09805, allocations: 62.95 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001934/0.1, allocations: 1.346 MB / 0.5166 GB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1016, allocations: 1.101 MB / 0.5177 GB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.1017, allocations: 8 kB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1019, allocations: 19.86 kB / 0.5177 GB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1022, allocations: 63.81 kB / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1026, allocations: 158.3 kB / 0.518 GB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1028, allocations: 71.77 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1907/0.2934, allocations: 14.64 kB / 0.518 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.2936, allocations: 22.98 kB / 0.5181 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2937, allocations: 31.91 kB / 0.5181 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2937, allocations: 2.156 kB / 0.5181 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.294, allocations: 83.25 kB / 0.5182 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.2941, allocations: 17.83 kB / 0.5182 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.2941, allocations: 38.61 kB / 0.5182 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.2943, allocations: 103.4 kB / 0.5183 GB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2943, allocations: 1.125 kB / 0.5183 GB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2943, allocations: 0 / 0.5183 GB, free: 9.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.2943, allocations: 0 / 0.5183 GB, free: 9.918 MB / 346.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.0003931/0.2947, allocations: 404.2 kB / 0.5187 GB, free: 9.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2948, allocations: 9.031 kB / 0.5187 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2948, allocations: 8.812 kB / 0.5187 GB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.295, allocations: 197.6 kB / 0.5189 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.295, allocations: 2.219 kB / 0.5189 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.295, allocations: 4.125 kB / 0.5189 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2952, allocations: 87.5 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2952, allocations: 0 / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2953, allocations: 1.594 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2953, allocations: 0.7812 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.2954, allocations: 45.86 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.2958, allocations: 314.9 kB / 0.5193 GB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2959, allocations: 50.31 kB / 0.5194 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.296, allocations: 29.42 kB / 0.5194 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2961, allocations: 6.172 kB / 0.5194 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.2961, allocations: 31.84 kB / 0.5195 GB, free: 8.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2961, allocations: 0 / 0.5195 GB, free: 8.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008027/0.2969, allocations: 262.2 kB / 0.5197 GB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2969, allocations: 90.55 kB / 0.5198 GB, free: 8.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2971, allocations: 149.5 kB / 0.5199 GB, free: 8.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2971, allocations: 28.08 kB / 0.52 GB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.2971, allocations: 94.91 kB / 0.5201 GB, free: 8.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2972, allocations: 19.34 kB / 0.5201 GB, free: 8.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2972, allocations: 1 kB / 0.5201 GB, free: 8.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2972, allocations: 323.1 kB / 0.5204 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2974, allocations: 46.69 kB / 0.5204 GB, free: 8.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2975, allocations: 62.92 kB / 0.5205 GB, free: 8.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2977, allocations: 50.25 kB / 0.5205 GB, free: 8.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2977, allocations: 1.031 kB / 0.5205 GB, free: 8.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003442/0.298, allocations: 143.6 kB / 0.5207 GB, free: 8.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.298, allocations: 5.094 kB / 0.5207 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2981, allocations: 0 / 0.5207 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2981, allocations: 2.078 kB / 0.5207 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2982, allocations: 26.58 kB / 0.5207 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2982, allocations: 0 / 0.5207 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.2983, allocations: 22.58 kB / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2983, allocations: 2.781 kB / 0.5207 GB, free: 8.168 MB / 346.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 (7): * Single equations (assignments): 7 * 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 6.972e-05/0.2984, allocations: 118.6 kB / 0.5208 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2984, allocations: 8.656 kB / 0.5209 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.2988, allocations: 166.4 kB / 0.521 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2988, allocations: 2.438 kB / 0.521 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2988, allocations: 4 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2988, allocations: 0.8438 kB / 0.521 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.2994, allocations: 430.5 kB / 0.5214 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2994, allocations: 1.438 kB / 0.5214 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.2995, allocations: 21.92 kB / 0.5215 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2995, allocations: 4.141 kB / 0.5215 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2995, allocations: 6.094 kB / 0.5215 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2995, allocations: 0 / 0.5215 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2995, allocations: 5.938 kB / 0.5215 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.2998, allocations: 236 kB / 0.5217 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2999, allocations: 89.72 kB / 0.5218 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2999, allocations: 4.656 kB / 0.5218 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.3, allocations: 21.08 kB / 0.5218 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3, allocations: 9.781 kB / 0.5218 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3001, allocations: 2.109 kB / 0.5218 GB, free: 7.449 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.3001, allocations: 111.6 kB / 0.5219 GB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3001, allocations: 0 / 0.5219 GB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.3004, allocations: 44.86 kB / 0.522 GB, free: 7.367 MB / 346.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 (7): * Single equations (assignments): 7 * 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.0009262/0.3014, allocations: 493.2 kB / 0.5224 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.3017, allocations: 112 kB / 0.5225 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3017, allocations: 4 kB / 0.5225 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3018, allocations: 53.61 kB / 0.5226 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3021, allocations: 17.52 kB / 0.5226 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.3025, allocations: 238.6 kB / 0.5228 GB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.3027, allocations: 0.6998 MB / 0.5235 GB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.3027, allocations: 20.17 kB / 0.5235 GB, free: 6.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3027, allocations: 0 / 0.5235 GB, free: 6.254 MB / 346.7 MB Notification: Performance of Templates: time 0.004188/0.3069, allocations: 2.152 MB / 0.5256 GB, free: 6.023 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches