Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 199.4 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 243.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 103 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4101/0.4101, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3274, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002004/0.3295, allocations: 1.692 MB / 0.5175 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3309, allocations: 1.038 MB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.331, allocations: 0 / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.3315, allocations: 251.5 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.3318, allocations: 231.1 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3329, allocations: 0.6001 MB / 0.5196 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.3332, allocations: 293.8 kB / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3334, allocations: 81.75 kB / 0.52 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3335, allocations: 118.8 kB / 0.5201 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3337, allocations: 163 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3338, allocations: 2.312 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3339, allocations: 88.73 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3341, allocations: 93.25 kB / 0.5204 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.3342, allocations: 130.6 kB / 0.5205 GB, free: 34.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3344, allocations: 251 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3344, allocations: 0 / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3344, allocations: 0 / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3344, allocations: 0 / 0.5208 GB, free: 34.34 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005982/0.335, allocations: 0.6181 MB / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3351, allocations: 9.875 kB / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.3352, allocations: 44.31 kB / 0.5214 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3355, allocations: 330.2 kB / 0.5217 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3355, allocations: 7.312 kB / 0.5217 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3355, allocations: 13.22 kB / 0.5218 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3357, allocations: 124.4 kB / 0.5219 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3358, allocations: 2.969 kB / 0.5219 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3358, allocations: 4 kB / 0.5219 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3358, allocations: 2.844 kB / 0.5219 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.336, allocations: 104.7 kB / 0.522 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.3365, allocations: 0.5009 MB / 0.5225 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3367, allocations: 114.6 kB / 0.5226 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.3368, allocations: 43.44 kB / 0.5226 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3368, allocations: 2.781 kB / 0.5226 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3368, allocations: 33.8 kB / 0.5227 GB, free: 32.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3369, allocations: 3.938 kB / 0.5227 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000902/0.3378, allocations: 463.1 kB / 0.5231 GB, free: 32.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3378, allocations: 57.53 kB / 0.5232 GB, free: 32.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.3383, allocations: 0.5634 MB / 0.5237 GB, free: 32.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.3383, allocations: 29.7 kB / 0.5237 GB, free: 32.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3384, allocations: 213.4 kB / 0.5239 GB, free: 32.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.3385, allocations: 55.67 kB / 0.524 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.3385, allocations: 4 kB / 0.524 GB, free: 32.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.3386, allocations: 355.1 kB / 0.5243 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3387, allocations: 65.94 kB / 0.5244 GB, free: 31.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3388, allocations: 76.44 kB / 0.5245 GB, free: 31.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3391, allocations: 160.5 kB / 0.5246 GB, free: 31.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3391, allocations: 6.438 kB / 0.5246 GB, free: 31.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003112/0.3394, allocations: 239.6 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3394, allocations: 3 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3394, allocations: 3 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3394, allocations: 3.938 kB / 0.5249 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3396, allocations: 39.7 kB / 0.5249 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3396, allocations: 0 / 0.5249 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.3397, allocations: 9.281 kB / 0.5249 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3397, allocations: 9.688 kB / 0.5249 GB, free: 31.59 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 (17): * Single equations (assignments): 17 * 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.0001335/0.3398, allocations: 184.6 kB / 0.5251 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.3399, allocations: 41.16 kB / 0.5251 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.3403, allocations: 288 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3403, allocations: 0 / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3404, allocations: 2.75 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3404, allocations: 7.281 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.3411, allocations: 0.6857 MB / 0.5261 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3411, allocations: 0 / 0.5261 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3412, allocations: 36.11 kB / 0.5261 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3412, allocations: 3.422 kB / 0.5261 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3412, allocations: 6.75 kB / 0.5261 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3412, allocations: 0 / 0.5261 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3413, allocations: 6.25 kB / 0.5261 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3416, allocations: 338.4 kB / 0.5265 GB, free: 30.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3417, allocations: 122.9 kB / 0.5266 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.3417, allocations: 7.938 kB / 0.5266 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.3418, allocations: 8.969 kB / 0.5266 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3418, allocations: 21.33 kB / 0.5266 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.3419, allocations: 5.406 kB / 0.5266 GB, free: 30.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.3422, allocations: 425.8 kB / 0.527 GB, free: 30.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3422, allocations: 0 / 0.527 GB, free: 30.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.3425, allocations: 55.12 kB / 0.5271 GB, free: 30.31 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 (17): * Single equations (assignments): 17 * 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.001379/0.3439, allocations: 0.683 MB / 0.5277 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3442, allocations: 176 kB / 0.5279 GB, free: 29.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3442, allocations: 0 / 0.5279 GB, free: 29.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3444, allocations: 90.62 kB / 0.528 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3449, allocations: 76.36 kB / 0.5281 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.3458, allocations: 0.8048 MB / 0.5289 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.346, allocations: 0.8179 MB / 0.5297 GB, free: 28.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3461, allocations: 34.81 kB / 0.5297 GB, free: 28.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3461, allocations: 0 / 0.5297 GB, free: 28.7 MB / 378.7 MB Notification: Performance of Templates: time 0.006091/0.3522, allocations: 4.711 MB / 0.5343 GB, free: 28.1 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches