Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008185, allocations: 101.7 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 4 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08534, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.001644/0.08702, allocations: 1.296 MB / 0.5166 GB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.08771, allocations: 495.2 kB / 0.5171 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.08775, allocations: 0 / 0.5171 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.0882, allocations: 443.2 kB / 0.5175 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.08852, allocations: 271.5 kB / 0.5178 GB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.0888, allocations: 110.5 kB / 0.5179 GB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.08895, allocations: 123.7 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.08903, allocations: 16.17 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1574/0.2465, allocations: 96.12 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.2467, allocations: 164.7 kB / 0.5182 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2467, allocations: 4.656 kB / 0.5182 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2468, allocations: 17.73 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2469, allocations: 81.5 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.247, allocations: 66.89 kB / 0.5184 GB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2472, allocations: 179.2 kB / 0.5186 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2472, allocations: 0 / 0.5186 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2472, allocations: 0.6094 kB / 0.5186 GB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2472, allocations: 1 kB / 0.5186 GB, free: 10.19 MB / 346.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.0004774/0.2477, allocations: 0.5827 MB / 0.5191 GB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2477, allocations: 12.69 kB / 0.5192 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.2478, allocations: 41.66 kB / 0.5192 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.248, allocations: 278.1 kB / 0.5195 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.248, allocations: 4.484 kB / 0.5195 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.248, allocations: 2.906 kB / 0.5195 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2481, allocations: 46.59 kB / 0.5195 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2482, allocations: 1.188 kB / 0.5195 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2482, allocations: 2.75 kB / 0.5195 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2482, allocations: 1.25 kB / 0.5195 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.2483, allocations: 24.73 kB / 0.5195 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.2486, allocations: 381 kB / 0.5199 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.2487, allocations: 30.47 kB / 0.5199 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.2488, allocations: 19.12 kB / 0.52 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2488, allocations: 5.625 kB / 0.52 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.2488, allocations: 31.69 kB / 0.52 GB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2488, allocations: 1.062 kB / 0.52 GB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002159/0.249, allocations: 99.41 kB / 0.5201 GB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.2491, allocations: 53.31 kB / 0.5201 GB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.2498, allocations: 0.867 MB / 0.521 GB, free: 8.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.2499, allocations: 26.83 kB / 0.521 GB, free: 8.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.25, allocations: 234.4 kB / 0.5212 GB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.25, allocations: 5.188 kB / 0.5212 GB, free: 8.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.25, allocations: 0 / 0.5212 GB, free: 8.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.2501, allocations: 364.5 kB / 0.5216 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.2501, allocations: 11.34 kB / 0.5216 GB, free: 8.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.2502, allocations: 10.17 kB / 0.5216 GB, free: 8.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.2502, allocations: 14.78 kB / 0.5216 GB, free: 8.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2502, allocations: 1.188 kB / 0.5216 GB, free: 8.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.2503, allocations: 95.08 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2504, allocations: 5.156 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2504, allocations: 0 / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2504, allocations: 1.859 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.2505, allocations: 7.688 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2505, allocations: 4.031 kB / 0.5217 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.2505, allocations: 9.609 kB / 0.5217 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2505, allocations: 2.109 kB / 0.5217 GB, free: 8.312 MB / 346.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 (2): * Single equations (assignments): 2 * 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.0001409/0.2507, allocations: 212.8 kB / 0.5219 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2507, allocations: 43.02 kB / 0.522 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.2509, allocations: 114.7 kB / 0.5221 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2509, allocations: 1.906 kB / 0.5221 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2509, allocations: 0.6562 kB / 0.5221 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2509, allocations: 0 / 0.5221 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.2511, allocations: 285.3 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2511, allocations: 1.344 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.2512, allocations: 6.297 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2512, allocations: 1.469 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.2512, allocations: 0 / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.2512, allocations: 0.6094 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2512, allocations: 5.969 kB / 0.5224 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2514, allocations: 194.6 kB / 0.5226 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2514, allocations: 110.5 kB / 0.5227 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2514, allocations: 2.453 kB / 0.5227 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.2515, allocations: 3.172 kB / 0.5227 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.2515, allocations: 9.328 kB / 0.5227 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.2515, allocations: 1.875 kB / 0.5227 GB, free: 7.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005681/0.2521, allocations: 0.6586 MB / 0.5233 GB, free: 7.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2521, allocations: 0.9688 kB / 0.5233 GB, free: 7.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.2523, allocations: 14.78 kB / 0.5233 GB, free: 7.566 MB / 346.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 (2): * Single equations (assignments): 2 * 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.0005839/0.2529, allocations: 342.6 kB / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.253, allocations: 25.06 kB / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2531, allocations: 0 / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.2531, allocations: 18.02 kB / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2534, allocations: 31.47 kB / 0.5237 GB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.2543, allocations: 0.8414 MB / 0.5246 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2546, allocations: 0.8203 MB / 0.5254 GB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.2546, allocations: 11.23 kB / 0.5254 GB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2546, allocations: 0 / 0.5254 GB, free: 6.328 MB / 346.7 MB Notification: Performance of Templates: time 0.005457/0.26, allocations: 3.407 MB / 0.5287 GB, free: 5.594 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches