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.002606/0.002606, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 98.7 kB / 292.1 MB, free: 10.71 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.3904/0.3904, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004681, allocations: 8 kB / 460 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.465, allocations: 61.91 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.6036, allocations: 90.49 MB / 0.598 GB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.6039, allocations: 67.94 kB / 0.5981 GB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.6289, allocations: 7.494 MB / 0.6054 GB, free: 13.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.629, allocations: 0 / 0.6054 GB, free: 13.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.629, allocations: 0 / 0.6054 GB, free: 13.08 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.0006146/0.6296, allocations: 403.2 kB / 0.6058 GB, free: 12.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6297, allocations: 8.031 kB / 0.6058 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.6297, allocations: 105.8 kB / 0.6059 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.6298, allocations: 83.23 kB / 0.606 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.6299, allocations: 238.4 kB / 0.6062 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.63, allocations: 150.6 kB / 0.6063 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.6301, allocations: 150.6 kB / 0.6065 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.6302, allocations: 104.9 kB / 0.6066 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.6302, allocations: 79.27 kB / 0.6066 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.6303, allocations: 158.5 kB / 0.6068 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.6304, allocations: 154.6 kB / 0.6069 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.6305, allocations: 158.5 kB / 0.6071 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.6308, allocations: 438 kB / 0.6075 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.6309, allocations: 173.1 kB / 0.6077 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.6309, allocations: 79.28 kB / 0.6078 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.6309, allocations: 105.8 kB / 0.6079 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.631, allocations: 0 / 0.6079 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.244e-05/0.631, allocations: 29.7 kB / 0.6079 GB, free: 10.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.6311, allocations: 156.4 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.6312, allocations: 85 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.6312, allocations: 25.7 kB / 0.6081 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.6312, allocations: 84.14 kB / 0.6082 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.6312, allocations: 0 / 0.6082 GB, free: 9.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.6312, allocations: 0 / 0.6082 GB, free: 9.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6314, allocations: 322.7 kB / 0.6085 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.6314, allocations: 3.938 kB / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.6314, allocations: 0 / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.6314, allocations: 79.28 kB / 0.6086 GB, free: 9.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/0.6315, allocations: 75.28 kB / 0.6087 GB, free: 9.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.266e-05/0.6315, allocations: 33.73 kB / 0.6087 GB, free: 9.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6316, allocations: 79.28 kB / 0.6088 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/0.6316, allocations: 79.22 kB / 0.6089 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.499e-05/0.6317, allocations: 154.5 kB / 0.609 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.6317, allocations: 79.28 kB / 0.6091 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-05/0.6318, allocations: 154.5 kB / 0.6092 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.6319, allocations: 75.28 kB / 0.6093 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.6319, allocations: 91.27 kB / 0.6094 GB, free: 8.727 MB / 426.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.0001235/0.632, allocations: 264.9 kB / 0.6096 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.6321, allocations: 101 kB / 0.6097 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.6322, allocations: 108.1 kB / 0.6098 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-05/0.6322, allocations: 184.2 kB / 0.61 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.968e-05/0.6323, allocations: 180.3 kB / 0.6102 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.6324, allocations: 188.2 kB / 0.6104 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.6326, allocations: 401.2 kB / 0.6108 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/0.6326, allocations: 106.3 kB / 0.6109 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.6327, allocations: 104.9 kB / 0.611 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.587e-05/0.6328, allocations: 180.3 kB / 0.6111 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.6328, allocations: 184.2 kB / 0.6113 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.983e-05/0.6329, allocations: 184.2 kB / 0.6115 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.121e-05/0.633, allocations: 176.3 kB / 0.6116 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.6331, allocations: 315.7 kB / 0.6119 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.6332, allocations: 190 kB / 0.6121 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.6333, allocations: 180.3 kB / 0.6123 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.6334, allocations: 105.4 kB / 0.6124 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.6334, allocations: 180.2 kB / 0.6126 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.6335, allocations: 101 kB / 0.6127 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.6335, allocations: 75.28 kB / 0.6127 GB, free: 5.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6335, allocations: 4 kB / 0.6127 GB, free: 5.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000776/0.6343, allocations: 187.7 kB / 0.6129 GB, free: 4.883 MB / 426.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.001027/0.6354, allocations: 1.007 MB / 0.6139 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.469e-05/0.6354, allocations: 0 / 0.6139 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6354, allocations: 0 / 0.6139 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6354, allocations: 0 / 0.6139 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.6357, allocations: 0.5263 MB / 0.6144 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.6362, allocations: 251.4 kB / 0.6147 GB, free: 3.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.6364, allocations: 0.6731 MB / 0.6153 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.655e-06/0.6365, allocations: 0 / 0.6153 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.6365, allocations: 7.438 kB / 0.6153 GB, free: 2.332 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6365, allocations: 4 kB / 0.6153 GB, free: 2.328 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.6566, allocations: 4.358 MB / 0.6196 GB, free: 14.12 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.6569, allocations: 233.1 kB / 0.6198 GB, free: 13.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.502, allocations: 4 kB / 0.6198 GB, free: 13.88 MB / 442.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