Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 198.9 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.299/1.299, allocations: 226.5 MB / 243.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007174/0.0007176, allocations: 92.91 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2955/0.2955, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.0002611, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2615, allocations: 62.97 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001484/0.2631, allocations: 1.349 MB / 0.5172 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.2637, allocations: 0.5166 MB / 0.5177 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.2638, allocations: 0 / 0.5177 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.2642, allocations: 436.7 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.2645, allocations: 271 kB / 0.5184 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.2648, allocations: 123.5 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2649, allocations: 133.6 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.265, allocations: 20.84 kB / 0.5186 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.2651, allocations: 104.6 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2652, allocations: 162.5 kB / 0.5189 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2653, allocations: 2.844 kB / 0.5189 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.232e-05/0.2653, allocations: 44.41 kB / 0.5189 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.2654, allocations: 83.55 kB / 0.519 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.2655, allocations: 114.9 kB / 0.5191 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.2657, allocations: 197.2 kB / 0.5193 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2657, allocations: 0 / 0.5193 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2657, allocations: 3.938 kB / 0.5193 GB, free: 35.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2657, allocations: 2.719 kB / 0.5193 GB, free: 35.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004589/0.2662, allocations: 0.6017 MB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2662, allocations: 10 kB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.2662, allocations: 42.19 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.2664, allocations: 305.1 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2664, allocations: 384 / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2665, allocations: 7.844 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2666, allocations: 66.89 kB / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2666, allocations: 6.969 kB / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.2666, allocations: 0 / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2666, allocations: 0 / 0.5203 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.2667, allocations: 35.03 kB / 0.5204 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.2671, allocations: 395.5 kB / 0.5207 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.2672, allocations: 51.02 kB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.2672, allocations: 15.55 kB / 0.5208 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2673, allocations: 3.375 kB / 0.5208 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.2673, allocations: 38.56 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2673, allocations: 3.031 kB / 0.5208 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007772/0.2681, allocations: 327.4 kB / 0.5212 GB, free: 33.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.2681, allocations: 57.97 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.2687, allocations: 0.8728 MB / 0.5221 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.2687, allocations: 25.7 kB / 0.5221 GB, free: 33.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2688, allocations: 224.2 kB / 0.5223 GB, free: 33.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2689, allocations: 25.36 kB / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/0.2689, allocations: 2.531 kB / 0.5223 GB, free: 33.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2689, allocations: 361.5 kB / 0.5227 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.269, allocations: 22.53 kB / 0.5227 GB, free: 32.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.2691, allocations: 35.36 kB / 0.5227 GB, free: 32.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.2692, allocations: 72.53 kB / 0.5228 GB, free: 32.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2692, allocations: 0 / 0.5228 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/0.2694, allocations: 147.8 kB / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2695, allocations: 5.906 kB / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2695, allocations: 0 / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2695, allocations: 0 / 0.5229 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.2696, allocations: 21 kB / 0.523 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2696, allocations: 8 kB / 0.523 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.2696, allocations: 14.28 kB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2697, allocations: 3 kB / 0.523 GB, free: 32.77 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 (8): * Single equations (assignments): 8 * 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 0.0001771/0.2698, allocations: 219.3 kB / 0.5232 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2699, allocations: 41.72 kB / 0.5232 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.2702, allocations: 161.3 kB / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2702, allocations: 2.781 kB / 0.5234 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.2702, allocations: 3.938 kB / 0.5234 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2702, allocations: 3.938 kB / 0.5234 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.2707, allocations: 0.5055 MB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2707, allocations: 3.938 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.2708, allocations: 27.34 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2708, allocations: 2.406 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2708, allocations: 0 / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2708, allocations: 2.469 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2708, allocations: 3.328 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.271, allocations: 238.8 kB / 0.5242 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.2711, allocations: 115.2 kB / 0.5243 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2711, allocations: 6.109 kB / 0.5243 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.2712, allocations: 9.312 kB / 0.5243 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.2712, allocations: 6.984 kB / 0.5243 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2712, allocations: 7.953 kB / 0.5243 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004478/0.2717, allocations: 0.6575 MB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2717, allocations: 0 / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.2719, allocations: 33.59 kB / 0.525 GB, free: 31.56 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 (8): * Single equations (assignments): 8 * 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.0008188/0.2728, allocations: 459.2 kB / 0.5254 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.273, allocations: 68.53 kB / 0.5255 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.273, allocations: 4 kB / 0.5255 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.2731, allocations: 45.66 kB / 0.5255 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2734, allocations: 28.25 kB / 0.5256 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.2743, allocations: 0.8989 MB / 0.5264 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.2745, allocations: 0.8252 MB / 0.5272 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.2746, allocations: 17.09 kB / 0.5273 GB, free: 30.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2746, allocations: 0 / 0.5273 GB, free: 30.11 MB / 378.7 MB Notification: Performance of Templates: time 0.00556/0.2801, allocations: 3.86 MB / 0.531 GB, free: 29.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches