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.002337/0.002336, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009793, allocations: 95.45 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.924e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6086, allocations: 90.92 MB / 0.5932 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.6089, allocations: 57.34 kB / 0.5933 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02719/0.6361, allocations: 7.506 MB / 0.6006 GB, free: 4.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6362, allocations: 0 / 0.6006 GB, free: 4.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.6362, allocations: 4 kB / 0.6006 GB, free: 4.812 MB / 394.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.0006043/0.6368, allocations: 405.8 kB / 0.601 GB, free: 4.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6369, allocations: 8.031 kB / 0.601 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.637, allocations: 79.28 kB / 0.6011 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6371, allocations: 242.3 kB / 0.6013 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.6372, allocations: 150.6 kB / 0.6015 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.6373, allocations: 154.6 kB / 0.6016 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.5e-05/0.6374, allocations: 154.5 kB / 0.6018 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.6374, allocations: 101 kB / 0.6019 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.6375, allocations: 78.97 kB / 0.6019 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.6376, allocations: 154.5 kB / 0.6021 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.6376, allocations: 154.6 kB / 0.6022 GB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.6379, allocations: 422.5 kB / 0.6026 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.638, allocations: 165.1 kB / 0.6028 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.6381, allocations: 87.77 kB / 0.6029 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.6381, allocations: 75.28 kB / 0.6029 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.6382, allocations: 117.8 kB / 0.6031 GB, free: 2.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.6382, allocations: 0 / 0.6031 GB, free: 2.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.758e-05/0.6383, allocations: 33.59 kB / 0.6031 GB, free: 2.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.6384, allocations: 77.11 kB / 0.6032 GB, free: 2.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.6384, allocations: 85 kB / 0.6032 GB, free: 1.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.6384, allocations: 25.7 kB / 0.6033 GB, free: 1.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.6385, allocations: 80.14 kB / 0.6033 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.6385, allocations: 0 / 0.6033 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.6385, allocations: 4 kB / 0.6034 GB, free: 1.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6386, allocations: 314.8 kB / 0.6037 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.6387, allocations: 0.75 kB / 0.6037 GB, free: 1.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.6387, allocations: 0 / 0.6037 GB, free: 1.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.6387, allocations: 75.28 kB / 0.6037 GB, free: 1.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.6388, allocations: 78.91 kB / 0.6038 GB, free: 1.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.248e-05/0.6389, allocations: 29.7 kB / 0.6038 GB, free: 1.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.6389, allocations: 79.28 kB / 0.6039 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.639, allocations: 87.23 kB / 0.604 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.341e-05/0.639, allocations: 150.6 kB / 0.6041 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.6391, allocations: 79.22 kB / 0.6042 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001044/0.6392, allocations: 158.5 kB / 0.6044 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.6393, allocations: 79.23 kB / 0.6044 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.6393, allocations: 75.28 kB / 0.6045 GB, free: 0.6289 MB / 394.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 0.0001443/0.6394, allocations: 263.5 kB / 0.6048 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.8e-05/0.6395, allocations: 138.5 kB / 0.6049 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.6396, allocations: 101 kB / 0.605 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.6397, allocations: 112.7 kB / 0.6051 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.275e-05/0.6398, allocations: 180.2 kB / 0.6053 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.705e-05/0.6399, allocations: 188.2 kB / 0.6054 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-05/0.6399, allocations: 181.7 kB / 0.6056 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.6402, allocations: 377.8 kB / 0.606 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.972e-05/0.6402, allocations: 101 kB / 0.6061 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.6403, allocations: 108.5 kB / 0.6062 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-05/0.6404, allocations: 180.2 kB / 0.6063 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.6405, allocations: 184.3 kB / 0.6065 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.088e-05/0.6405, allocations: 184.1 kB / 0.6067 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.6406, allocations: 176.3 kB / 0.6069 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.6408, allocations: 311.5 kB / 0.6072 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.6409, allocations: 182.1 kB / 0.6073 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.641, allocations: 180.7 kB / 0.6075 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.6411, allocations: 108.9 kB / 0.6076 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.6412, allocations: 180.2 kB / 0.6078 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.6413, allocations: 101 kB / 0.6079 GB, free: 12.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.927e-05/0.6413, allocations: 83.23 kB / 0.608 GB, free: 12.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6413, allocations: 0 / 0.608 GB, free: 12.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008/0.6421, allocations: 183.2 kB / 0.6081 GB, free: 12.7 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.001405/0.6435, allocations: 0.9963 MB / 0.6091 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.433e-05/0.6436, allocations: 7.938 kB / 0.6091 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6436, allocations: 0 / 0.6091 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.6436, allocations: 0 / 0.6091 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.644, allocations: 0.5219 MB / 0.6096 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.6445, allocations: 224.7 kB / 0.6098 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.6448, allocations: 0.6728 MB / 0.6105 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.838e-06/0.6449, allocations: 0 / 0.6105 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.6449, allocations: 11.44 kB / 0.6105 GB, free: 10.19 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6449, allocations: 0 / 0.6105 GB, free: 10.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.6724, allocations: 4.027 MB / 0.6144 GB, free: 6.164 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.6727, allocations: 185.7 kB / 0.6146 GB, free: 5.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.241, allocations: 0 / 0.6146 GB, free: 5.973 MB / 410.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