Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, 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.363/1.363, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007926/0.0007926, allocations: 95.06 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2993/0.2993, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3012, allocations: 62.95 MB / 0.5159 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001576/0.3028, allocations: 1.313 MB / 0.5172 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.3035, allocations: 0.5166 MB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.3036, allocations: 0 / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.304, allocations: 445 kB / 0.5181 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3044, allocations: 271.3 kB / 0.5183 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3047, allocations: 157.5 kB / 0.5185 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3049, allocations: 134.5 kB / 0.5186 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.535e-05/0.3049, allocations: 17.8 kB / 0.5186 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.305, allocations: 107.8 kB / 0.5187 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3052, allocations: 164.7 kB / 0.5189 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3052, allocations: 0 / 0.5189 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.3053, allocations: 22.62 kB / 0.5189 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.3054, allocations: 86.38 kB / 0.519 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.3055, allocations: 115.7 kB / 0.5191 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3056, allocations: 186.2 kB / 0.5193 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3056, allocations: 0 / 0.5193 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3057, allocations: 0 / 0.5193 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3057, allocations: 0 / 0.5193 GB, free: 35.64 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.0005164/0.3062, allocations: 0.5891 MB / 0.5199 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3062, allocations: 12.56 kB / 0.5199 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3063, allocations: 48 kB / 0.5199 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3065, allocations: 304.3 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3065, allocations: 384 / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.3065, allocations: 3.219 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3067, allocations: 65.95 kB / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3067, allocations: 0 / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3067, allocations: 0 / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3067, allocations: 3.375 kB / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3068, allocations: 42.62 kB / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.3072, allocations: 396.8 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3074, allocations: 57.98 kB / 0.5208 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.3074, allocations: 26.84 kB / 0.5208 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3075, allocations: 0 / 0.5208 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3075, allocations: 34.56 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3075, allocations: 0 / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003027/0.3078, allocations: 143.9 kB / 0.521 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3078, allocations: 54.73 kB / 0.521 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.3084, allocations: 0.8628 MB / 0.5218 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.3085, allocations: 29.7 kB / 0.5219 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3086, allocations: 212.8 kB / 0.5221 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3086, allocations: 11.8 kB / 0.5221 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3086, allocations: 2.969 kB / 0.5221 GB, free: 33.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.3087, allocations: 371.7 kB / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.3087, allocations: 17.09 kB / 0.5225 GB, free: 33.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.3088, allocations: 25.2 kB / 0.5225 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3089, allocations: 51.97 kB / 0.5225 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3089, allocations: 0 / 0.5225 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001668/0.3091, allocations: 121.1 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3091, allocations: 5.844 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3091, allocations: 0 / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3091, allocations: 0 / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.3092, allocations: 11.83 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3092, allocations: 6.812 kB / 0.5227 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.3093, allocations: 2.906 kB / 0.5227 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3093, allocations: 6.781 kB / 0.5227 GB, free: 33.23 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.0001274/0.3095, allocations: 216.8 kB / 0.5229 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3095, allocations: 45.19 kB / 0.5229 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3097, allocations: 129.4 kB / 0.5231 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3098, allocations: 0 / 0.5231 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3098, allocations: 6.656 kB / 0.5231 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3098, allocations: 0 / 0.5231 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.31, allocations: 296.2 kB / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.31, allocations: 0 / 0.5233 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.3101, allocations: 12.09 kB / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3101, allocations: 0 / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3101, allocations: 0 / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3101, allocations: 3.938 kB / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3101, allocations: 2.844 kB / 0.5234 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3103, allocations: 218.1 kB / 0.5236 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3103, allocations: 110.3 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3104, allocations: 0 / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3104, allocations: 8.344 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3105, allocations: 4 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.3105, allocations: 2.969 kB / 0.5237 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004604/0.311, allocations: 0.6561 MB / 0.5243 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.311, allocations: 0 / 0.5243 GB, free: 32.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.3112, allocations: 24.16 kB / 0.5244 GB, free: 32.22 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.0007/0.3119, allocations: 350.9 kB / 0.5247 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3121, allocations: 61.41 kB / 0.5248 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3121, allocations: 0 / 0.5248 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.3122, allocations: 30.3 kB / 0.5248 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3125, allocations: 25.81 kB / 0.5248 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.3134, allocations: 0.8472 MB / 0.5256 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3136, allocations: 0.8214 MB / 0.5264 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3137, allocations: 16.56 kB / 0.5264 GB, free: 30.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3137, allocations: 0 / 0.5264 GB, free: 30.85 MB / 378.7 MB Notification: Performance of Templates: time 0.005252/0.3189, allocations: 3.505 MB / 0.5299 GB, free: 30.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches