Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008899/0.0008899, allocations: 82.61 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1814/0.1814, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.083e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09551, allocations: 63.24 MB / 0.5114 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4665, allocations: 91.58 MB / 0.6009 GB, free: 2.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.4668, allocations: 58.09 kB / 0.6009 GB, free: 2.262 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02511/0.4919, allocations: 7.523 MB / 0.6083 GB, free: 11.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.492, allocations: 0 / 0.6083 GB, free: 11.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.492, allocations: 4 kB / 0.6083 GB, free: 11.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004765/0.4925, allocations: 401.8 kB / 0.6087 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4925, allocations: 19.95 kB / 0.6087 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.4926, allocations: 105.8 kB / 0.6088 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4927, allocations: 75.28 kB / 0.6089 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4928, allocations: 237.8 kB / 0.6091 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.4928, allocations: 150.6 kB / 0.6092 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.4929, allocations: 154.6 kB / 0.6094 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.4929, allocations: 108.9 kB / 0.6095 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.493, allocations: 79.27 kB / 0.6096 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.493, allocations: 154.6 kB / 0.6097 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.4931, allocations: 150.6 kB / 0.6098 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.4932, allocations: 154.6 kB / 0.61 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.4934, allocations: 445 kB / 0.6104 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.4935, allocations: 169.1 kB / 0.6106 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.4936, allocations: 83.39 kB / 0.6107 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4936, allocations: 83.22 kB / 0.6107 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.4937, allocations: 113.8 kB / 0.6109 GB, free: 8.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4937, allocations: 0 / 0.6109 GB, free: 8.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.139e-05/0.4937, allocations: 25.7 kB / 0.6109 GB, free: 8.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.4938, allocations: 156.3 kB / 0.611 GB, free: 8.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.943e-05/0.4938, allocations: 85 kB / 0.6111 GB, free: 8.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4939, allocations: 29.7 kB / 0.6111 GB, free: 8.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4939, allocations: 80.14 kB / 0.6112 GB, free: 8.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.4939, allocations: 4 kB / 0.6112 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.4939, allocations: 0 / 0.6112 GB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.494, allocations: 318.2 kB / 0.6115 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-06/0.494, allocations: 0 / 0.6115 GB, free: 8.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.4941, allocations: 3.984 kB / 0.6115 GB, free: 8.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.4941, allocations: 75.28 kB / 0.6116 GB, free: 8.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.4941, allocations: 75.28 kB / 0.6117 GB, free: 7.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.499e-05/0.4942, allocations: 29.7 kB / 0.6117 GB, free: 7.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.4942, allocations: 83.31 kB / 0.6118 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.4943, allocations: 86.02 kB / 0.6119 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-05/0.4943, allocations: 154.5 kB / 0.612 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.4943, allocations: 79.22 kB / 0.6121 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/0.4944, allocations: 153.9 kB / 0.6122 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.4945, allocations: 87.31 kB / 0.6123 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4945, allocations: 83.22 kB / 0.6124 GB, free: 7.238 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.854e-05/0.4946, allocations: 253 kB / 0.6126 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.4947, allocations: 101 kB / 0.6127 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.4947, allocations: 112 kB / 0.6128 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.4948, allocations: 183.1 kB / 0.613 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.333e-05/0.4949, allocations: 188.2 kB / 0.6132 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/0.4949, allocations: 180.2 kB / 0.6134 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.4951, allocations: 400.4 kB / 0.6137 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/0.4952, allocations: 104.9 kB / 0.6138 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.4952, allocations: 105 kB / 0.6139 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.4953, allocations: 176.3 kB / 0.6141 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.4953, allocations: 188.2 kB / 0.6143 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.308e-05/0.4954, allocations: 179.7 kB / 0.6145 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/0.4955, allocations: 180.2 kB / 0.6146 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.4956, allocations: 314.6 kB / 0.6149 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.4957, allocations: 186.1 kB / 0.6151 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.4958, allocations: 180.3 kB / 0.6153 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4958, allocations: 109.3 kB / 0.6154 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.4959, allocations: 176.3 kB / 0.6156 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.4959, allocations: 112.2 kB / 0.6157 GB, free: 3.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.496, allocations: 83.28 kB / 0.6157 GB, free: 3.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.496, allocations: 0 / 0.6157 GB, free: 3.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.4967, allocations: 179.3 kB / 0.6159 GB, free: 3.426 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009528/0.4976, allocations: 1.007 MB / 0.6169 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.591e-05/0.4977, allocations: 0 / 0.6169 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4977, allocations: 0 / 0.6169 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4977, allocations: 0 / 0.6169 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.498, allocations: 0.5224 MB / 0.6174 GB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.4984, allocations: 233.5 kB / 0.6176 GB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.4986, allocations: 0.6692 MB / 0.6183 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.776e-06/0.4986, allocations: 3.984 kB / 0.6183 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.4986, allocations: 11.98 kB / 0.6183 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4986, allocations: 0 / 0.6183 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5137, allocations: 4.346 MB / 0.6225 GB, free: 12.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.514, allocations: 209.8 kB / 0.6227 GB, free: 12.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.024, allocations: 0 / 0.6227 GB, free: 12.47 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat