Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.00227, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2941/0.2941, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.687e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.403, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5654, allocations: 86.48 MB / 0.5503 GB, free: 12.85 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5657, allocations: 71.45 kB / 0.5504 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01894/0.5847, allocations: 4.261 MB / 0.5546 GB, free: 8.523 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5848, allocations: 0 / 0.5546 GB, free: 8.523 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.5848, allocations: 0 / 0.5546 GB, free: 8.523 MB / 395.1 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.0005669/0.5854, allocations: 386.8 kB / 0.5549 GB, free: 8.102 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5855, allocations: 8.031 kB / 0.5549 GB, free: 8.094 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.5855, allocations: 15.86 kB / 0.555 GB, free: 8.078 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.5859, allocations: 218.6 kB / 0.5552 GB, free: 7.824 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5859, allocations: 0 / 0.5552 GB, free: 7.824 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.5859, allocations: 4 kB / 0.5552 GB, free: 7.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.5861, allocations: 23.98 kB / 0.5552 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.5862, allocations: 45.69 kB / 0.5552 GB, free: 7.746 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5862, allocations: 0 / 0.5552 GB, free: 7.746 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5862, allocations: 4 kB / 0.5552 GB, free: 7.742 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5863, allocations: 0 / 0.5552 GB, free: 7.742 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.5869, allocations: 293.2 kB / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.587, allocations: 38.56 kB / 0.5556 GB, free: 7.371 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.5871, allocations: 20.86 kB / 0.5556 GB, free: 7.348 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.5871, allocations: 0 / 0.5556 GB, free: 7.348 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5872, allocations: 30.56 kB / 0.5556 GB, free: 7.309 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.5872, allocations: 0 / 0.5556 GB, free: 7.309 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007323/0.5879, allocations: 169.2 kB / 0.5558 GB, free: 7.137 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.588, allocations: 55.41 kB / 0.5558 GB, free: 7.07 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.5883, allocations: 168.2 kB / 0.556 GB, free: 6.902 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5883, allocations: 25.7 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.5884, allocations: 158.6 kB / 0.5562 GB, free: 6.715 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.5885, allocations: 23.7 kB / 0.5562 GB, free: 6.691 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.5885, allocations: 0 / 0.5562 GB, free: 6.691 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5886, allocations: 314.8 kB / 0.5565 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.5887, allocations: 20 kB / 0.5565 GB, free: 6.355 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.5888, allocations: 23.98 kB / 0.5565 GB, free: 6.332 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/0.5889, allocations: 19.98 kB / 0.5565 GB, free: 6.312 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5889, allocations: 0 / 0.5565 GB, free: 6.312 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002189/0.5891, allocations: 85.53 kB / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5892, allocations: 4 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5892, allocations: 0 / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5892, allocations: 0 / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.5894, allocations: 27.97 kB / 0.5567 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5895, allocations: 3.953 kB / 0.5567 GB, free: 6.188 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5896, allocations: 15.94 kB / 0.5567 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5896, allocations: 4 kB / 0.5567 GB, free: 6.168 MB / 395.1 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 () * 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 9.599e-05/0.5897, allocations: 108.9 kB / 0.5568 GB, free: 6.055 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.5898, allocations: 7.906 kB / 0.5568 GB, free: 6.047 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.5901, allocations: 106.5 kB / 0.5569 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5901, allocations: 0 / 0.5569 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5902, allocations: 0 / 0.5569 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5902, allocations: 11.95 kB / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.5908, allocations: 347.2 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5908, allocations: 0 / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.591, allocations: 35.91 kB / 0.5573 GB, free: 5.504 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.5911, allocations: 0 / 0.5573 GB, free: 5.504 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5911, allocations: 0 / 0.5573 GB, free: 5.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5911, allocations: 0 / 0.5573 GB, free: 5.504 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5911, allocations: 7.953 kB / 0.5573 GB, free: 5.496 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.5914, allocations: 187.3 kB / 0.5575 GB, free: 5.297 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.5915, allocations: 89.02 kB / 0.5575 GB, free: 5.191 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.5915, allocations: 0 / 0.5575 GB, free: 5.191 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.5917, allocations: 15.98 kB / 0.5576 GB, free: 5.176 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.5918, allocations: 15.94 kB / 0.5576 GB, free: 5.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.5918, allocations: 4 kB / 0.5576 GB, free: 5.156 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.592, allocations: 140.1 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.5921, allocations: 0 / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.5925, allocations: 20 kB / 0.5577 GB, free: 5 MB / 395.1 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 () * 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.001085/0.5936, allocations: 333.5 kB / 0.558 GB, free: 4.711 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.5939, allocations: 59.97 kB / 0.5581 GB, free: 4.652 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5939, allocations: 0 / 0.5581 GB, free: 4.652 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.594, allocations: 31.94 kB / 0.5581 GB, free: 4.621 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.5943, allocations: 15.42 kB / 0.5581 GB, free: 4.609 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.5949, allocations: 193.8 kB / 0.5583 GB, free: 4.387 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5953, allocations: 0.7158 MB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.5954, allocations: 19.44 kB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5954, allocations: 0 / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of Templates: time 0.005469/0.6009, allocations: 1.76 MB / 0.5608 GB, free: 1.867 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches