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.0009658/0.0009658, allocations: 198.2 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.255/1.255, allocations: 226.6 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007551/0.0007551, allocations: 94.62 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3164/0.3164, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004877, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4489, allocations: 62.95 MB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002235/0.4511, allocations: 1.35 MB / 0.5172 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.4531, allocations: 1.119 MB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.4532, allocations: 2.719 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.4534, allocations: 32.59 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.4537, allocations: 70.64 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.4543, allocations: 150.8 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.4544, allocations: 65.44 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4545, allocations: 24.5 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.4546, allocations: 27.2 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.4547, allocations: 27.27 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.4548, allocations: 2.906 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.455, allocations: 86.89 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.455, allocations: 17.23 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.4551, allocations: 48.59 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.4554, allocations: 113 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4554, allocations: 0 / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4554, allocations: 0 / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4554, allocations: 3.938 kB / 0.5189 GB, free: 35.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005114/0.4559, allocations: 401.6 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.456, allocations: 9.688 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.456, allocations: 7.812 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.4562, allocations: 197.7 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4563, allocations: 384 / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.4563, allocations: 15.27 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.4565, allocations: 83.36 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4566, allocations: 3.938 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4566, allocations: 2.938 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4566, allocations: 4 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.4568, allocations: 51.25 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.4573, allocations: 308.4 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.4575, allocations: 54.84 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4576, allocations: 29.78 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4577, allocations: 3.328 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4577, allocations: 34.56 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.4577, allocations: 0 / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001061/0.4588, allocations: 259.2 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.4588, allocations: 81.11 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.459, allocations: 151.6 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.459, allocations: 29.7 kB / 0.5206 GB, free: 33.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.4591, allocations: 94.8 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.4591, allocations: 25.52 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.4591, allocations: 4 kB / 0.5207 GB, free: 33.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.4592, allocations: 317 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4594, allocations: 51.05 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.4596, allocations: 58.14 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.46, allocations: 106 kB / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.46, allocations: 0 / 0.5212 GB, free: 33.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004131/0.4604, allocations: 141.3 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4604, allocations: 2.875 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4605, allocations: 2.906 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4605, allocations: 8 kB / 0.5213 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4606, allocations: 20.88 kB / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4607, allocations: 0 / 0.5214 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4608, allocations: 22.55 kB / 0.5214 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.4608, allocations: 2.812 kB / 0.5214 GB, free: 33.21 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 (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 8.385e-05/0.4609, allocations: 122.9 kB / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.461, allocations: 6.906 kB / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.4614, allocations: 165.6 kB / 0.5217 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4614, allocations: 0 / 0.5217 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4615, allocations: 7.875 kB / 0.5217 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4615, allocations: 3.938 kB / 0.5217 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.4622, allocations: 430.1 kB / 0.5221 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4622, allocations: 0 / 0.5221 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4624, allocations: 21.27 kB / 0.5221 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4624, allocations: 3.375 kB / 0.5221 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4624, allocations: 3.938 kB / 0.5221 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4624, allocations: 0 / 0.5221 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4624, allocations: 6.938 kB / 0.5221 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.4629, allocations: 237.5 kB / 0.5224 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.4629, allocations: 83.83 kB / 0.5224 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.463, allocations: 11.41 kB / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4631, allocations: 14.58 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4632, allocations: 6.562 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4632, allocations: 0 / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.719e-05/0.4633, allocations: 115.6 kB / 0.5226 GB, free: 32.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4633, allocations: 4 kB / 0.5226 GB, free: 32.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.4638, allocations: 41.41 kB / 0.5226 GB, free: 32.28 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 (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.001435/0.4653, allocations: 493.4 kB / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.4657, allocations: 110.7 kB / 0.5232 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4658, allocations: 0 / 0.5232 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.466, allocations: 56.7 kB / 0.5233 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4664, allocations: 20.11 kB / 0.5233 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.4669, allocations: 241.6 kB / 0.5235 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4671, allocations: 0.6972 MB / 0.5242 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.4672, allocations: 16.67 kB / 0.5242 GB, free: 31.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4672, allocations: 7.094 kB / 0.5242 GB, free: 31.08 MB / 378.7 MB Notification: Performance of Templates: time 0.003576/0.4708, allocations: 2.147 MB / 0.5263 GB, free: 30.83 MB / 378.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