Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.0009301, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2554/0.2554, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.6209, allocations: 89.04 MB / 0.5658 GB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.6212, allocations: 63.72 kB / 0.5659 GB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02556/0.6468, allocations: 7.42 MB / 0.5731 GB, free: 4.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6468, allocations: 3.938 kB / 0.5731 GB, free: 4.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.6468, allocations: 0 / 0.5731 GB, free: 4.18 MB / 378.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.000659/0.6475, allocations: 411.1 kB / 0.5735 GB, free: 3.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/0.6476, allocations: 12.03 kB / 0.5735 GB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.6477, allocations: 109.3 kB / 0.5736 GB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.6478, allocations: 75.28 kB / 0.5737 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.648, allocations: 234.4 kB / 0.5739 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.648, allocations: 150.6 kB / 0.5741 GB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.6481, allocations: 154.6 kB / 0.5742 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.6482, allocations: 104.9 kB / 0.5743 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.6483, allocations: 79.22 kB / 0.5744 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.6484, allocations: 154.6 kB / 0.5745 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.6485, allocations: 154.5 kB / 0.5747 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.6485, allocations: 154.5 kB / 0.5748 GB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.6489, allocations: 445.9 kB / 0.5752 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.649, allocations: 165.8 kB / 0.5754 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.6491, allocations: 75.28 kB / 0.5755 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.226e-05/0.6492, allocations: 116.9 kB / 0.5756 GB, free: 1.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/0.6492, allocations: 4 kB / 0.5756 GB, free: 1.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.842e-05/0.6493, allocations: 29.66 kB / 0.5756 GB, free: 1.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6494, allocations: 152.4 kB / 0.5758 GB, free: 1.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.6495, allocations: 85 kB / 0.5758 GB, free: 1.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.6495, allocations: 25.7 kB / 0.5759 GB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.6495, allocations: 80.14 kB / 0.5759 GB, free: 1.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.6495, allocations: 4 kB / 0.5759 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-07/0.6496, allocations: 0 / 0.5759 GB, free: 1.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6497, allocations: 322.7 kB / 0.5763 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-06/0.6497, allocations: 4.031 kB / 0.5763 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.6498, allocations: 0 / 0.5763 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.6498, allocations: 75.28 kB / 0.5763 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/0.6499, allocations: 79.22 kB / 0.5764 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.753e-05/0.6499, allocations: 29.7 kB / 0.5764 GB, free: 0.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.65, allocations: 81.94 kB / 0.5765 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.6501, allocations: 75.28 kB / 0.5766 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.854e-05/0.6502, allocations: 165.3 kB / 0.5767 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.6502, allocations: 75.28 kB / 0.5768 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/0.6503, allocations: 162.5 kB / 0.577 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.6504, allocations: 82.67 kB / 0.577 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.6505, allocations: 83.27 kB / 0.5771 GB, free: 15.84 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 () * 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.0001653/0.6506, allocations: 264.4 kB / 0.5774 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.6507, allocations: 104.9 kB / 0.5775 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.6508, allocations: 108.1 kB / 0.5776 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.341e-05/0.6509, allocations: 187.6 kB / 0.5778 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.532e-05/0.651, allocations: 176.3 kB / 0.5779 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.525e-05/0.6511, allocations: 180.2 kB / 0.5781 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.6514, allocations: 405.2 kB / 0.5785 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-05/0.6514, allocations: 105 kB / 0.5786 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.6515, allocations: 108.4 kB / 0.5787 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.723e-05/0.6516, allocations: 180.3 kB / 0.5789 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.6517, allocations: 180.3 kB / 0.579 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.881e-05/0.6518, allocations: 188.2 kB / 0.5792 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.991e-05/0.6519, allocations: 180.2 kB / 0.5794 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.6521, allocations: 311.5 kB / 0.5797 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6523, allocations: 178.1 kB / 0.5799 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6524, allocations: 188.2 kB / 0.58 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6525, allocations: 108.2 kB / 0.5801 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6526, allocations: 180.6 kB / 0.5803 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.6527, allocations: 101 kB / 0.5804 GB, free: 12.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.6527, allocations: 75.28 kB / 0.5805 GB, free: 12.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6527, allocations: 0 / 0.5805 GB, free: 12.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009534/0.6537, allocations: 179 kB / 0.5806 GB, free: 12.02 MB / 394.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.001579/0.6553, allocations: 1.009 MB / 0.5816 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.971e-05/0.6554, allocations: 0 / 0.5816 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6554, allocations: 0 / 0.5816 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.6554, allocations: 0 / 0.5816 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.6558, allocations: 0.5221 MB / 0.5821 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.6564, allocations: 255.4 kB / 0.5824 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.6567, allocations: 0.677 MB / 0.583 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.094e-05/0.6568, allocations: 0 / 0.583 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.6568, allocations: 11.44 kB / 0.5831 GB, free: 9.461 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6568, allocations: 0 / 0.5831 GB, free: 9.461 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.6759, allocations: 4.345 MB / 0.5873 GB, free: 5.164 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.6762, allocations: 243.8 kB / 0.5875 GB, free: 4.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.429, allocations: 4 kB / 0.5875 GB, free: 4.906 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat does not exist to compare? outputFormat=mat