Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009235, allocations: 95.59 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.985e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1453, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6166, allocations: 89.75 MB / 0.5824 GB, free: 6.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.6169, allocations: 59.97 kB / 0.5825 GB, free: 6.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.6443, allocations: 7.44 MB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6443, allocations: 4 kB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.6443, allocations: 0 / 0.5897 GB, free: 15.2 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.0005677/0.6449, allocations: 390.4 kB / 0.5901 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.645, allocations: 15.98 kB / 0.5901 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.645, allocations: 83.22 kB / 0.5902 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.6452, allocations: 238.3 kB / 0.5904 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.6453, allocations: 151.3 kB / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.6454, allocations: 158.6 kB / 0.5907 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.928e-05/0.6455, allocations: 154.6 kB / 0.5909 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.6455, allocations: 105 kB / 0.591 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.6456, allocations: 75.28 kB / 0.591 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.6457, allocations: 150.6 kB / 0.5912 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.6457, allocations: 154.5 kB / 0.5913 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.6461, allocations: 430.4 kB / 0.5917 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6462, allocations: 177.1 kB / 0.5919 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.6463, allocations: 80.14 kB / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.6463, allocations: 79.28 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.6464, allocations: 109.8 kB / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6464, allocations: 0 / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.97e-05/0.6465, allocations: 25.7 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.6466, allocations: 81.05 kB / 0.5923 GB, free: 12.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.341e-05/0.6466, allocations: 85 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6466, allocations: 25.7 kB / 0.5924 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.6467, allocations: 80.14 kB / 0.5925 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.6467, allocations: 7.938 kB / 0.5925 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.6467, allocations: 4 kB / 0.5925 GB, free: 12.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6469, allocations: 314.8 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.6469, allocations: 0 / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.6469, allocations: 0 / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.6469, allocations: 79.28 kB / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.647, allocations: 75.28 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.584e-05/0.647, allocations: 33.69 kB / 0.5929 GB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.6471, allocations: 79.28 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.6471, allocations: 83.25 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.939e-05/0.6472, allocations: 154.6 kB / 0.5932 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.6473, allocations: 75.28 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.028e-05/0.6474, allocations: 154.5 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.6474, allocations: 75.28 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.6475, allocations: 79.27 kB / 0.5936 GB, free: 11 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 0.0001572/0.6477, allocations: 263.5 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.478e-05/0.6477, allocations: 134.7 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.6478, allocations: 109 kB / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.6479, allocations: 112.7 kB / 0.5942 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-05/0.648, allocations: 180.2 kB / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.654e-05/0.6481, allocations: 180.3 kB / 0.5945 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.092e-05/0.6482, allocations: 185.6 kB / 0.5947 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.6484, allocations: 377.8 kB / 0.5951 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-05/0.6485, allocations: 105 kB / 0.5952 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.6486, allocations: 104.9 kB / 0.5953 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.912e-05/0.6487, allocations: 184.3 kB / 0.5955 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.6488, allocations: 180.3 kB / 0.5956 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.765e-05/0.6489, allocations: 180.2 kB / 0.5958 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001003/0.649, allocations: 176.3 kB / 0.596 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.6492, allocations: 307.7 kB / 0.5963 GB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.6493, allocations: 186.1 kB / 0.5964 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6494, allocations: 188.7 kB / 0.5966 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6495, allocations: 108.9 kB / 0.5967 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.6496, allocations: 180.3 kB / 0.5969 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.6497, allocations: 101 kB / 0.597 GB, free: 7.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.6498, allocations: 79.3 kB / 0.5971 GB, free: 7.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6498, allocations: 7.938 kB / 0.5971 GB, free: 7.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008656/0.6506, allocations: 183.7 kB / 0.5973 GB, free: 7.039 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.001262/0.6519, allocations: 1.002 MB / 0.5982 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.652, allocations: 0 / 0.5982 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.652, allocations: 0 / 0.5982 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.652, allocations: 3.938 kB / 0.5982 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.6524, allocations: 0.5244 MB / 0.5988 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.6529, allocations: 212.8 kB / 0.599 GB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.6533, allocations: 0.6768 MB / 0.5996 GB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.448e-06/0.6533, allocations: 0 / 0.5996 GB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.6533, allocations: 7.438 kB / 0.5996 GB, free: 4.531 MB / 410.7 MB Notification: Performance of SimCode: time 3.226e-06/0.6533, allocations: 3.938 kB / 0.5996 GB, free: 4.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.6786, allocations: 4.026 MB / 0.6036 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.6789, allocations: 181.8 kB / 0.6037 GB, free: 324 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.432, allocations: 4 kB / 0.6037 GB, free: 320 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat