Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 226.5 MB / 243.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007501/0.0007499, allocations: 107.1 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3563/0.3563, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 62.97 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001679/0.361, allocations: 1.305 MB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.3618, allocations: 0.4949 MB / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3618, allocations: 0 / 0.5176 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.3623, allocations: 445.2 kB / 0.5181 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3626, allocations: 265.6 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3629, allocations: 116.1 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3631, allocations: 135.3 kB / 0.5186 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.3632, allocations: 10.67 kB / 0.5186 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.3633, allocations: 101.2 kB / 0.5187 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3635, allocations: 174.5 kB / 0.5188 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3635, allocations: 0 / 0.5188 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.3636, allocations: 18.38 kB / 0.5188 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.3637, allocations: 83.58 kB / 0.5189 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.3637, allocations: 119.5 kB / 0.519 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3639, allocations: 173 kB / 0.5192 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3639, allocations: 0 / 0.5192 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3639, allocations: 0 / 0.5192 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3639, allocations: 4 kB / 0.5192 GB, free: 35.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005313/0.3645, allocations: 0.5865 MB / 0.5198 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3645, allocations: 8.812 kB / 0.5198 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3646, allocations: 41.72 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3648, allocations: 304.2 kB / 0.5201 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3648, allocations: 8.312 kB / 0.5201 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3648, allocations: 7.25 kB / 0.5201 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.365, allocations: 58.98 kB / 0.5202 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.365, allocations: 0 / 0.5202 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.365, allocations: 2.812 kB / 0.5202 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.365, allocations: 3.984 kB / 0.5202 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3652, allocations: 38.91 kB / 0.5202 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3655, allocations: 379.4 kB / 0.5206 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3656, allocations: 47.83 kB / 0.5206 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.3657, allocations: 24.11 kB / 0.5207 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3657, allocations: 2.906 kB / 0.5207 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3658, allocations: 38.03 kB / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3658, allocations: 0 / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002961/0.3661, allocations: 130.2 kB / 0.5208 GB, free: 34.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3661, allocations: 55.34 kB / 0.5209 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3668, allocations: 0.8602 MB / 0.5217 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.3668, allocations: 28.42 kB / 0.5217 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3669, allocations: 213.2 kB / 0.522 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.3669, allocations: 7.844 kB / 0.522 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.3669, allocations: 0 / 0.522 GB, free: 33.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.367, allocations: 368.5 kB / 0.5223 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.3671, allocations: 16.17 kB / 0.5223 GB, free: 33.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.3672, allocations: 21.7 kB / 0.5223 GB, free: 33.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3673, allocations: 43.2 kB / 0.5224 GB, free: 33.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3673, allocations: 0 / 0.5224 GB, free: 33.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001557/0.3674, allocations: 119.6 kB / 0.5225 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3675, allocations: 5.719 kB / 0.5225 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3675, allocations: 0 / 0.5225 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3675, allocations: 4 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.3676, allocations: 10.81 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3676, allocations: 2.75 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3676, allocations: 6.125 kB / 0.5225 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3676, allocations: 2.719 kB / 0.5225 GB, free: 33.06 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 (3): * Single equations (assignments): 3 * 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.0001387/0.3678, allocations: 212.4 kB / 0.5227 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.3678, allocations: 42.38 kB / 0.5228 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.368, allocations: 125.4 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3681, allocations: 3.281 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3681, allocations: 3.938 kB / 0.5229 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3681, allocations: 7.125 kB / 0.5229 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3683, allocations: 286.5 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3683, allocations: 3.375 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.3683, allocations: 12.75 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3684, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3684, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3684, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3684, allocations: 0 / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3686, allocations: 215.9 kB / 0.5234 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3686, allocations: 113.2 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3687, allocations: 4 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.3687, allocations: 5.844 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3688, allocations: 3.938 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3688, allocations: 3 kB / 0.5235 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.3693, allocations: 0.6519 MB / 0.5242 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3693, allocations: 4 kB / 0.5242 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.3696, allocations: 29.67 kB / 0.5242 GB, free: 32.05 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 (3): * Single equations (assignments): 3 * 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.000769/0.3704, allocations: 336.4 kB / 0.5245 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.3705, allocations: 55.02 kB / 0.5246 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3706, allocations: 0 / 0.5246 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.3706, allocations: 21.44 kB / 0.5246 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.371, allocations: 22.64 kB / 0.5246 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.3719, allocations: 0.8527 MB / 0.5254 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3721, allocations: 0.8156 MB / 0.5262 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3722, allocations: 10.22 kB / 0.5263 GB, free: 30.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3722, allocations: 0 / 0.5263 GB, free: 30.7 MB / 378.7 MB Notification: Performance of Templates: time 0.005423/0.3776, allocations: 3.446 MB / 0.5296 GB, free: 29.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches