Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.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.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 195.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000908/0.000908, allocations: 98.28 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3806/0.3806, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002703, allocations: 4 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3769, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4983, allocations: 90.9 MB / 0.6052 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4986, allocations: 67.97 kB / 0.6053 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05312/0.5517, allocations: 22.56 MB / 0.6273 GB, free: 7.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5518, allocations: 0 / 0.6273 GB, free: 7.797 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.5518, allocations: 8 kB / 0.6273 GB, free: 7.789 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006518/0.5524, allocations: 433.1 kB / 0.6278 GB, free: 7.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5525, allocations: 8.031 kB / 0.6278 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.5525, allocations: 4.938 kB / 0.6278 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.5527, allocations: 160.4 kB / 0.6279 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5527, allocations: 384 / 0.6279 GB, free: 7.102 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5527, allocations: 8.375 kB / 0.6279 GB, free: 7.094 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.5528, allocations: 30.2 kB / 0.628 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5528, allocations: 192 / 0.628 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.5528, allocations: 7.922 kB / 0.628 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5528, allocations: 4 kB / 0.628 GB, free: 7.047 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.5529, allocations: 3.938 kB / 0.628 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.553, allocations: 141.7 kB / 0.6281 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.553, allocations: 22.61 kB / 0.6281 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.5531, allocations: 8.859 kB / 0.6281 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.5531, allocations: 0 / 0.6281 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.5531, allocations: 56.27 kB / 0.6282 GB, free: 6.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 3.517e-06/0.5531, allocations: 3.984 kB / 0.6282 GB, free: 6.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.5533, allocations: 71.33 kB / 0.6283 GB, free: 6.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.5534, allocations: 77.11 kB / 0.6283 GB, free: 6.562 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.5534, allocations: 93.86 kB / 0.6284 GB, free: 6.461 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.5535, allocations: 37.77 kB / 0.6285 GB, free: 6.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.5535, allocations: 80.14 kB / 0.6285 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.5535, allocations: 0 / 0.6285 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5535, allocations: 0 / 0.6285 GB, free: 6.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5537, allocations: 314.8 kB / 0.6288 GB, free: 6.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-06/0.5537, allocations: 0 / 0.6288 GB, free: 6.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.5537, allocations: 4 kB / 0.6288 GB, free: 6.016 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.5537, allocations: 56.27 kB / 0.6289 GB, free: 5.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5538, allocations: 4.062 kB / 0.6289 GB, free: 5.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.345e-05/0.5538, allocations: 67.34 kB / 0.629 GB, free: 5.863 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5539, allocations: 37.69 kB / 0.629 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5539, allocations: 0 / 0.629 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5539, allocations: 3.938 kB / 0.629 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.5539, allocations: 0 / 0.629 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5539, allocations: 0 / 0.629 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.5539, allocations: 0 / 0.629 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5539, allocations: 0 / 0.629 GB, free: 5.816 MB / 442.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.249e-05/0.554, allocations: 139.6 kB / 0.6291 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.554, allocations: 0 / 0.6291 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.5541, allocations: 7.062 kB / 0.6291 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.5541, allocations: 0 / 0.6291 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5541, allocations: 0 / 0.6291 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5541, allocations: 11.92 kB / 0.6292 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.5542, allocations: 145.7 kB / 0.6293 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5542, allocations: 0 / 0.6293 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5542, allocations: 0 / 0.6293 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.5542, allocations: 0 / 0.6293 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.5542, allocations: 3.938 kB / 0.6293 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5543, allocations: 8 kB / 0.6293 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5543, allocations: 4 kB / 0.6293 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.5544, allocations: 94.75 kB / 0.6294 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.5544, allocations: 77.11 kB / 0.6295 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5544, allocations: 7.938 kB / 0.6295 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.5544, allocations: 0 / 0.6295 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.5545, allocations: 3.984 kB / 0.6295 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.5545, allocations: 4.031 kB / 0.6295 GB, free: 5.211 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.165e-05/0.5545, allocations: 75.28 kB / 0.6296 GB, free: 5.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5545, allocations: 0 / 0.6296 GB, free: 5.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005217/0.555, allocations: 163.8 kB / 0.6297 GB, free: 4.977 MB / 442.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.00111/0.5562, allocations: 342 kB / 0.63 GB, free: 4.652 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.5563, allocations: 71.33 kB / 0.6301 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5563, allocations: 0 / 0.6301 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.5563, allocations: 55.41 kB / 0.6302 GB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.5565, allocations: 4.906 kB / 0.6302 GB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.5567, allocations: 96.47 kB / 0.6303 GB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.5571, allocations: 0.6808 MB / 0.6309 GB, free: 3.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.5571, allocations: 7.438 kB / 0.6309 GB, free: 3.664 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5571, allocations: 4 kB / 0.6309 GB, free: 3.66 MB / 442.7 MB Notification: Performance of Templates: time 0.006191/0.5633, allocations: 3.495 MB / 0.6343 GB, free: 168 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches