Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 195.8 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 226.6 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008947/0.0008951, allocations: 95.47 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.319/0.319, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 62.96 MB / 0.5159 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.001674/0.3286, allocations: 1.364 MB / 0.5172 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00081/0.3295, allocations: 0.5086 MB / 0.5177 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.3296, allocations: 0 / 0.5177 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.3298, allocations: 52.56 kB / 0.5178 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.3301, allocations: 68.62 kB / 0.5178 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3304, allocations: 113.5 kB / 0.5179 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3306, allocations: 75.23 kB / 0.518 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3307, allocations: 20.97 kB / 0.518 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.3308, allocations: 26.22 kB / 0.518 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.3309, allocations: 36.77 kB / 0.5181 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3309, allocations: 2.844 kB / 0.5181 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.331, allocations: 45.12 kB / 0.5181 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.3311, allocations: 17.11 kB / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.3311, allocations: 63.41 kB / 0.5182 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3312, allocations: 75.38 kB / 0.5183 GB, free: 35.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3313, allocations: 0 / 0.5183 GB, free: 35.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3313, allocations: 0 / 0.5183 GB, free: 35.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.3313, allocations: 0 / 0.5183 GB, free: 35.31 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.0004133/0.3317, allocations: 399 kB / 0.5187 GB, free: 34.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3317, allocations: 9.031 kB / 0.5187 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3318, allocations: 12.72 kB / 0.5187 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3319, allocations: 204.4 kB / 0.5189 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.332, allocations: 4.312 kB / 0.5189 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.332, allocations: 6.781 kB / 0.5189 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3322, allocations: 64.84 kB / 0.5189 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3322, allocations: 2.969 kB / 0.5189 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3322, allocations: 0 / 0.5189 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3322, allocations: 0 / 0.5189 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3324, allocations: 47.53 kB / 0.519 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.3328, allocations: 308.9 kB / 0.5193 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.333, allocations: 60.78 kB / 0.5193 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.3331, allocations: 33.66 kB / 0.5194 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3331, allocations: 96 / 0.5194 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.3331, allocations: 34.5 kB / 0.5194 GB, free: 34.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3331, allocations: 4 kB / 0.5194 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00125/0.3344, allocations: 461.9 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.3344, allocations: 61.48 kB / 0.5199 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3345, allocations: 179.8 kB / 0.5201 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.3345, allocations: 25.7 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.3346, allocations: 105.3 kB / 0.5202 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3346, allocations: 30.53 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.3346, allocations: 2.688 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.3347, allocations: 324.6 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3348, allocations: 51.97 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.3349, allocations: 49.62 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3351, allocations: 118 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3351, allocations: 0 / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002584/0.3354, allocations: 162.1 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3354, allocations: 6.031 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3354, allocations: 3.938 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3354, allocations: 0 / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3355, allocations: 34.61 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3356, allocations: 3.984 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.3356, allocations: 14.98 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3356, allocations: 10.28 kB / 0.521 GB, free: 33.29 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 (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 6.339e-05/0.3357, allocations: 122.6 kB / 0.5211 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3357, allocations: 10.91 kB / 0.5211 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.3361, allocations: 178.6 kB / 0.5213 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3361, allocations: 4 kB / 0.5213 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3361, allocations: 3 kB / 0.5213 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3361, allocations: 3.188 kB / 0.5213 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.3366, allocations: 489.6 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3366, allocations: 6.969 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.3367, allocations: 34.2 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3367, allocations: 0 / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3368, allocations: 6.938 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3368, allocations: 0 / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3368, allocations: 2.75 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3371, allocations: 265.8 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.3371, allocations: 94.94 kB / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3371, allocations: 6.875 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.3372, allocations: 12.62 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.3373, allocations: 21.09 kB / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3373, allocations: 3.031 kB / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.3373, allocations: 135.9 kB / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3374, allocations: 0 / 0.5223 GB, free: 32.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.3376, allocations: 24.91 kB / 0.5223 GB, free: 32.28 MB / 378.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.0008344/0.3384, allocations: 451.5 kB / 0.5228 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3387, allocations: 126.9 kB / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3387, allocations: 0 / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3389, allocations: 67.45 kB / 0.523 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3392, allocations: 17.08 kB / 0.523 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.3396, allocations: 301.6 kB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3397, allocations: 0.7117 MB / 0.524 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3397, allocations: 15.59 kB / 0.524 GB, free: 31.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3397, allocations: 0 / 0.524 GB, free: 31.06 MB / 378.7 MB Notification: Performance of Templates: time 0.002873/0.3426, allocations: 1.873 MB / 0.5258 GB, free: 30.85 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches