Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009314/0.0009314, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007264/0.0007264, allocations: 89.47 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.1975/0.1975, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 11.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09548, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001765/0.09729, allocations: 1.358 MB / 0.5167 GB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.09816, allocations: 0.5188 MB / 0.5172 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.09822, allocations: 3.938 kB / 0.5172 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.09846, allocations: 71.83 kB / 0.5172 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.09868, allocations: 87.72 kB / 0.5173 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.09903, allocations: 153.1 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.09918, allocations: 75.81 kB / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.09928, allocations: 32.12 kB / 0.5176 GB, free: 476 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.09935, allocations: 35.84 kB / 0.5176 GB, free: 440 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.09944, allocations: 39.83 kB / 0.5176 GB, free: 400 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.09946, allocations: 4 kB / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-05/0.09955, allocations: 47.97 kB / 0.5177 GB, free: 348 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.09961, allocations: 19.92 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.09965, allocations: 41.64 kB / 0.5177 GB, free: 280 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.09979, allocations: 91.73 kB / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.0998, allocations: 0 / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09981, allocations: 0 / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.09982, allocations: 0 / 0.5178 GB, free: 188 kB / 346.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.1851/0.2849, allocations: 406.7 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.285, allocations: 8.906 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2851, allocations: 16.94 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.2853, allocations: 201.2 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.2853, allocations: 2.531 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.2854, allocations: 4.484 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.2856, allocations: 70.98 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2856, allocations: 0.75 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2856, allocations: 1.281 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2856, allocations: 1.594 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2858, allocations: 51.28 kB / 0.5186 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.2862, allocations: 333.8 kB / 0.5189 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2865, allocations: 64.03 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.2866, allocations: 30.7 kB / 0.519 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2866, allocations: 5.156 kB / 0.519 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.2867, allocations: 32.77 kB / 0.519 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2867, allocations: 3.391 kB / 0.519 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001616/0.2883, allocations: 0.4961 MB / 0.5195 GB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.2883, allocations: 53.16 kB / 0.5195 GB, free: 11.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2885, allocations: 213.7 kB / 0.5198 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2885, allocations: 32.11 kB / 0.5198 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.2886, allocations: 108.5 kB / 0.5199 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.2886, allocations: 41.62 kB / 0.5199 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.2887, allocations: 2.281 kB / 0.5199 GB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.2887, allocations: 324.4 kB / 0.5202 GB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2889, allocations: 64.84 kB / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.289, allocations: 63.58 kB / 0.5204 GB, free: 10.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2892, allocations: 65.48 kB / 0.5204 GB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2892, allocations: 4 kB / 0.5204 GB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003544/0.2895, allocations: 176.9 kB / 0.5206 GB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2896, allocations: 10.53 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2896, allocations: 0 / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2896, allocations: 7.891 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2897, allocations: 32.83 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2897, allocations: 1.094 kB / 0.5206 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.2898, allocations: 11.95 kB / 0.5207 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2898, allocations: 6.531 kB / 0.5207 GB, free: 10.45 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 (11): * Single equations (assignments): 11 * 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.713e-05/0.2899, allocations: 136.2 kB / 0.5208 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.2899, allocations: 13.81 kB / 0.5208 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.2904, allocations: 206.2 kB / 0.521 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2904, allocations: 6.219 kB / 0.521 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2904, allocations: 3.953 kB / 0.521 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2904, allocations: 0.75 kB / 0.521 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.291, allocations: 0.5131 MB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2911, allocations: 1.562 kB / 0.5215 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2912, allocations: 37.84 kB / 0.5215 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2912, allocations: 2 kB / 0.5216 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2912, allocations: 3.781 kB / 0.5216 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2912, allocations: 1.969 kB / 0.5216 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2912, allocations: 1.125 kB / 0.5216 GB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.2916, allocations: 283.6 kB / 0.5218 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.2916, allocations: 92.22 kB / 0.5219 GB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2916, allocations: 8.016 kB / 0.5219 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.2917, allocations: 20.72 kB / 0.5219 GB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2918, allocations: 15.91 kB / 0.522 GB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.2918, allocations: 4.938 kB / 0.522 GB, free: 9.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2919, allocations: 163.4 kB / 0.5221 GB, free: 9.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2919, allocations: 0 / 0.5221 GB, free: 9.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.2921, allocations: 27.73 kB / 0.5221 GB, free: 9.566 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0007953/0.2929, allocations: 451.5 kB / 0.5226 GB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.2933, allocations: 139.5 kB / 0.5227 GB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2933, allocations: 5.375 kB / 0.5227 GB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2935, allocations: 80.59 kB / 0.5228 GB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2938, allocations: 20.47 kB / 0.5228 GB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.2942, allocations: 366.9 kB / 0.5232 GB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2944, allocations: 0.7183 MB / 0.5239 GB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.2944, allocations: 16.33 kB / 0.5239 GB, free: 8.32 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.2944, allocations: 0 / 0.5239 GB, free: 8.32 MB / 346.7 MB Notification: Performance of Templates: time 0.00387/0.2983, allocations: 2.098 MB / 0.5259 GB, free: 8.086 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches