Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 195.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 226.6 MB / 243.4 MB, free: 8.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007972/0.0007972, allocations: 100.4 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3418/0.3418, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002659, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3579, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001749/0.3597, allocations: 1.361 MB / 0.5172 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3607, allocations: 0.5352 MB / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.3608, allocations: 6.969 kB / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.3614, allocations: 451 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.3618, allocations: 267.2 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.3623, allocations: 160.8 kB / 0.5186 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3625, allocations: 143 kB / 0.5187 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3626, allocations: 26.98 kB / 0.5187 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.3627, allocations: 103.8 kB / 0.5188 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3629, allocations: 170.2 kB / 0.519 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.363, allocations: 0 / 0.519 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3631, allocations: 50.86 kB / 0.519 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.3632, allocations: 81.25 kB / 0.5191 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.3633, allocations: 121.4 kB / 0.5192 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3635, allocations: 203.4 kB / 0.5194 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3635, allocations: 0 / 0.5194 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3635, allocations: 0 / 0.5194 GB, free: 35.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3635, allocations: 2.906 kB / 0.5194 GB, free: 35.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006006/0.3641, allocations: 0.6079 MB / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3642, allocations: 11.59 kB / 0.52 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.3642, allocations: 43.81 kB / 0.5201 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3645, allocations: 299.2 kB / 0.5204 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3645, allocations: 7.219 kB / 0.5204 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3645, allocations: 2.875 kB / 0.5204 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3647, allocations: 85.52 kB / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3647, allocations: 0 / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3647, allocations: 0 / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3648, allocations: 0 / 0.5205 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3649, allocations: 53.38 kB / 0.5205 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.3654, allocations: 419.4 kB / 0.5209 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3657, allocations: 63.12 kB / 0.521 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.3658, allocations: 37.28 kB / 0.521 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3658, allocations: 0 / 0.521 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3658, allocations: 33.38 kB / 0.521 GB, free: 34.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.3658, allocations: 4 kB / 0.521 GB, free: 34.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001445/0.3673, allocations: 0.5686 MB / 0.5216 GB, free: 33.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3673, allocations: 62.31 kB / 0.5217 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.3681, allocations: 0.8609 MB / 0.5225 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3681, allocations: 28.33 kB / 0.5225 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3682, allocations: 217.9 kB / 0.5227 GB, free: 33.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3683, allocations: 33.98 kB / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.3683, allocations: 4 kB / 0.5228 GB, free: 33.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3684, allocations: 362.8 kB / 0.5231 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3685, allocations: 65.41 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3686, allocations: 56.66 kB / 0.5232 GB, free: 32.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3689, allocations: 145.4 kB / 0.5234 GB, free: 32.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3689, allocations: 0 / 0.5234 GB, free: 32.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.3692, allocations: 214.6 kB / 0.5236 GB, free: 32.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3693, allocations: 8.562 kB / 0.5236 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3693, allocations: 0 / 0.5236 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3693, allocations: 3 kB / 0.5236 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3694, allocations: 39.12 kB / 0.5236 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3694, allocations: 0 / 0.5236 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3695, allocations: 8.469 kB / 0.5236 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3695, allocations: 5.891 kB / 0.5236 GB, free: 32.68 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 0.0001572/0.3697, allocations: 222.7 kB / 0.5238 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.3697, allocations: 45.38 kB / 0.5239 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.3702, allocations: 251 kB / 0.5241 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3702, allocations: 10.16 kB / 0.5241 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3702, allocations: 0 / 0.5241 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3702, allocations: 0 / 0.5241 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.3709, allocations: 0.62 MB / 0.5247 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3709, allocations: 3.938 kB / 0.5247 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.371, allocations: 31.34 kB / 0.5248 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.371, allocations: 2.844 kB / 0.5248 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.371, allocations: 4.062 kB / 0.5248 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.371, allocations: 6.875 kB / 0.5248 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3711, allocations: 192 / 0.5248 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3714, allocations: 324.6 kB / 0.5251 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.3715, allocations: 119.6 kB / 0.5252 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3715, allocations: 0 / 0.5252 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3716, allocations: 19.02 kB / 0.5252 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3717, allocations: 9.922 kB / 0.5252 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3717, allocations: 5.625 kB / 0.5252 GB, free: 31.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005243/0.3722, allocations: 0.6551 MB / 0.5259 GB, free: 31.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3723, allocations: 0 / 0.5259 GB, free: 31.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.3726, allocations: 34.16 kB / 0.5259 GB, free: 31.36 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.0009846/0.3736, allocations: 453.9 kB / 0.5264 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.3739, allocations: 142.2 kB / 0.5265 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3739, allocations: 0 / 0.5265 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3741, allocations: 77.75 kB / 0.5266 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3745, allocations: 34.52 kB / 0.5266 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.3756, allocations: 0.9473 MB / 0.5275 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3758, allocations: 0.833 MB / 0.5283 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.3759, allocations: 23.44 kB / 0.5284 GB, free: 29.86 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3759, allocations: 0 / 0.5284 GB, free: 29.86 MB / 378.7 MB Notification: Performance of Templates: time 0.006704/0.3826, allocations: 4.156 MB / 0.5324 GB, free: 29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches