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.001906/0.001906, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.832/1.832, allocations: 227.2 MB / 245 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009138/0.0009137, allocations: 100.2 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4939/0.4939, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003408, allocations: 12.2 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4325, allocations: 63.24 MB / 0.5193 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.58, allocations: 91.65 MB / 0.6088 GB, free: 11.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5802, allocations: 71.92 kB / 0.6088 GB, free: 11.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02686/0.6071, allocations: 7.552 MB / 0.6162 GB, free: 4.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6072, allocations: 4 kB / 0.6162 GB, free: 4.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.6072, allocations: 0 / 0.6162 GB, free: 4.125 MB / 426.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.0006177/0.6078, allocations: 407.1 kB / 0.6166 GB, free: 3.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.6079, allocations: 12.03 kB / 0.6166 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.608, allocations: 109.8 kB / 0.6167 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.6081, allocations: 75.28 kB / 0.6168 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.6082, allocations: 238.3 kB / 0.617 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.6083, allocations: 150.6 kB / 0.6172 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.6084, allocations: 150.6 kB / 0.6173 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.29e-05/0.6085, allocations: 112.9 kB / 0.6174 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.6085, allocations: 79.28 kB / 0.6175 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.6086, allocations: 150.6 kB / 0.6176 GB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.77e-05/0.6087, allocations: 150.6 kB / 0.6178 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.6088, allocations: 154.5 kB / 0.6179 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.6092, allocations: 441.9 kB / 0.6183 GB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.6093, allocations: 177.1 kB / 0.6185 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.6094, allocations: 75.28 kB / 0.6186 GB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/0.6094, allocations: 105.8 kB / 0.6187 GB, free: 1.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 4.729e-06/0.6095, allocations: 0 / 0.6187 GB, free: 1.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.954e-05/0.6096, allocations: 37.53 kB / 0.6187 GB, free: 1.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.6097, allocations: 156.4 kB / 0.6189 GB, free: 1.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.6097, allocations: 85 kB / 0.6189 GB, free: 1.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6097, allocations: 29.7 kB / 0.619 GB, free: 1.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.6098, allocations: 80.14 kB / 0.6191 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.6098, allocations: 0 / 0.6191 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.6098, allocations: 0 / 0.6191 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.61, allocations: 318.8 kB / 0.6194 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.61, allocations: 0 / 0.6194 GB, free: 0.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.61, allocations: 0 / 0.6194 GB, free: 0.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.6101, allocations: 83.25 kB / 0.6194 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-05/0.6101, allocations: 75.28 kB / 0.6195 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.002e-05/0.6102, allocations: 33.64 kB / 0.6195 GB, free: 484 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.6102, allocations: 79.28 kB / 0.6196 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/0.6103, allocations: 79.28 kB / 0.6197 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.816e-05/0.6104, allocations: 150.6 kB / 0.6198 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.6104, allocations: 83.17 kB / 0.6199 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.941e-05/0.6105, allocations: 154.6 kB / 0.6201 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.6106, allocations: 91.2 kB / 0.6201 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.6106, allocations: 79.33 kB / 0.6202 GB, free: 15.77 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0001307/0.6108, allocations: 256.4 kB / 0.6205 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.6109, allocations: 105 kB / 0.6206 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.6109, allocations: 112 kB / 0.6207 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.73e-05/0.611, allocations: 180.2 kB / 0.6208 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-05/0.6111, allocations: 188.2 kB / 0.621 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.372e-05/0.6112, allocations: 176.3 kB / 0.6212 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.6115, allocations: 397.2 kB / 0.6216 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/0.6116, allocations: 114.3 kB / 0.6217 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.6117, allocations: 101 kB / 0.6218 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.6118, allocations: 188.2 kB / 0.622 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.6119, allocations: 180.3 kB / 0.6221 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.781e-05/0.612, allocations: 180.2 kB / 0.6223 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.683e-05/0.6121, allocations: 176.3 kB / 0.6225 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.6123, allocations: 315.7 kB / 0.6228 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.6124, allocations: 182.1 kB / 0.6229 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6125, allocations: 188.2 kB / 0.6231 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.6126, allocations: 108.9 kB / 0.6232 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.6127, allocations: 180.7 kB / 0.6234 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.6127, allocations: 108.9 kB / 0.6235 GB, free: 12.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.6128, allocations: 79.28 kB / 0.6236 GB, free: 12.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6128, allocations: 0 / 0.6236 GB, free: 12.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007728/0.6136, allocations: 179.7 kB / 0.6238 GB, free: 11.93 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.001281/0.6148, allocations: 1.002 MB / 0.6247 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.71e-05/0.6149, allocations: 3.938 kB / 0.6247 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6149, allocations: 4 kB / 0.6247 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.6149, allocations: 0 / 0.6247 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.6153, allocations: 0.5246 MB / 0.6253 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.6158, allocations: 251.4 kB / 0.6255 GB, free: 10.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.6161, allocations: 0.6731 MB / 0.6261 GB, free: 9.383 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.101e-05/0.6161, allocations: 8 kB / 0.6262 GB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.6161, allocations: 7.438 kB / 0.6262 GB, free: 9.367 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6162, allocations: 0 / 0.6262 GB, free: 9.367 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.6393, allocations: 4.353 MB / 0.6304 GB, free: 5.148 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.6395, allocations: 225.2 kB / 0.6306 GB, free: 4.914 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.458, allocations: 0 / 0.6306 GB, free: 4.914 MB / 442.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