Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 195.7 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.338/1.338, allocations: 226.5 MB / 243.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007455/0.0007454, allocations: 94.59 kB / 295.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3649/0.3649, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 12 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3875, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001712/0.3893, allocations: 1.341 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3905, allocations: 1.106 MB / 0.5183 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.3905, allocations: 2.938 kB / 0.5183 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.3907, allocations: 20.95 kB / 0.5183 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3909, allocations: 63.66 kB / 0.5183 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.3912, allocations: 117.4 kB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3913, allocations: 65.38 kB / 0.5185 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3914, allocations: 14.03 kB / 0.5185 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.3915, allocations: 24.2 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3916, allocations: 32.45 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3916, allocations: 2.938 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3917, allocations: 89.16 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.3918, allocations: 9.828 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.3918, allocations: 55.06 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.392, allocations: 105.5 kB / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.392, allocations: 0 / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.392, allocations: 0 / 0.5188 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.392, allocations: 0 / 0.5188 GB, free: 35 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.0004144/0.3924, allocations: 395.8 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3925, allocations: 8.188 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3925, allocations: 7.531 kB / 0.5192 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3927, allocations: 200.6 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3927, allocations: 3.281 kB / 0.5194 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3927, allocations: 7.547 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3929, allocations: 76.91 kB / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3929, allocations: 0 / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3929, allocations: 4 kB / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3929, allocations: 0 / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.393, allocations: 52.36 kB / 0.5196 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3933, allocations: 298.7 kB / 0.5198 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3934, allocations: 51.08 kB / 0.5199 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.3935, allocations: 20.19 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3935, allocations: 2.938 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.3936, allocations: 37.75 kB / 0.52 GB, free: 33.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3936, allocations: 4 kB / 0.52 GB, free: 33.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006619/0.3942, allocations: 236.7 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3943, allocations: 77.11 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3944, allocations: 151.7 kB / 0.5204 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3944, allocations: 29.7 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.3945, allocations: 93.2 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.3945, allocations: 22.72 kB / 0.5205 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.3945, allocations: 0 / 0.5205 GB, free: 33.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.3945, allocations: 318.2 kB / 0.5208 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3946, allocations: 45.2 kB / 0.5209 GB, free: 33.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.3948, allocations: 59.95 kB / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3949, allocations: 97.39 kB / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.395, allocations: 0 / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000229/0.3952, allocations: 122 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3952, allocations: 5.75 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3952, allocations: 0 / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3952, allocations: 0 / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3953, allocations: 37.84 kB / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3954, allocations: 0 / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.3954, allocations: 18.28 kB / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.3954, allocations: 0 / 0.5212 GB, free: 33.03 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 5.76e-05/0.3955, allocations: 115.7 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3955, allocations: 6.781 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3958, allocations: 138.9 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3958, allocations: 0 / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3958, allocations: 0 / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3958, allocations: 10.81 kB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3963, allocations: 412.6 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3963, allocations: 0 / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.3964, allocations: 25.39 kB / 0.5219 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3964, allocations: 6.938 kB / 0.5219 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3964, allocations: 7.938 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3964, allocations: 3.375 kB / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3964, allocations: 0 / 0.5219 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3967, allocations: 230.1 kB / 0.5221 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.3967, allocations: 81.02 kB / 0.5222 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3967, allocations: 17.59 kB / 0.5222 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.3968, allocations: 14.91 kB / 0.5222 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3969, allocations: 0 / 0.5222 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3969, allocations: 5.922 kB / 0.5222 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.549e-05/0.397, allocations: 112.8 kB / 0.5223 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.397, allocations: 0 / 0.5223 GB, free: 32.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000259/0.3972, allocations: 43.19 kB / 0.5224 GB, free: 32.11 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.0009643/0.3982, allocations: 490.9 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3985, allocations: 97.19 kB / 0.5229 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3985, allocations: 4 kB / 0.523 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3986, allocations: 42.61 kB / 0.523 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.0002948/0.3989, allocations: 26.33 kB / 0.523 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3993, allocations: 221.2 kB / 0.5232 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.3994, allocations: 0.6974 MB / 0.5239 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3995, allocations: 16.22 kB / 0.5239 GB, free: 30.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3995, allocations: 0 / 0.5239 GB, free: 30.94 MB / 378.7 MB Notification: Performance of Templates: time 0.003495/0.403, allocations: 2.061 MB / 0.5259 GB, free: 30.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches