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.001395/0.001395, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.504/1.504, allocations: 221.3 MB / 236 MB, free: 2.949 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.0009082/0.0009085, allocations: 87.55 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 44.16 MB / 382.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.941e-05, allocations: 224 / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1764, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.6864, allocations: 90.41 MB / 0.5901 GB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.6867, allocations: 63.97 kB / 0.5901 GB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02633/0.713, allocations: 7.463 MB / 0.5974 GB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7131, allocations: 0 / 0.5974 GB, free: 7.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.7131, allocations: 0 / 0.5974 GB, free: 7.297 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.000701/0.7138, allocations: 394.4 kB / 0.5978 GB, free: 6.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.7139, allocations: 8.031 kB / 0.5978 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.532e-05/0.714, allocations: 113.8 kB / 0.5979 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.7141, allocations: 83.23 kB / 0.598 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7142, allocations: 238.4 kB / 0.5982 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.7143, allocations: 158.5 kB / 0.5984 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.7144, allocations: 150.6 kB / 0.5985 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.7145, allocations: 101 kB / 0.5986 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.7145, allocations: 75.28 kB / 0.5987 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.7146, allocations: 154.6 kB / 0.5988 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.7147, allocations: 154.6 kB / 0.599 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.7148, allocations: 162.5 kB / 0.5991 GB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.7151, allocations: 441.9 kB / 0.5996 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.7152, allocations: 169.1 kB / 0.5997 GB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.7153, allocations: 84.14 kB / 0.5998 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.7153, allocations: 75.28 kB / 0.5999 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.7154, allocations: 109.8 kB / 0.6 GB, free: 4.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.7154, allocations: 3.938 kB / 0.6 GB, free: 4.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.998e-05/0.7155, allocations: 25.7 kB / 0.6 GB, free: 4.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.7156, allocations: 152.4 kB / 0.6002 GB, free: 4.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/0.7156, allocations: 89 kB / 0.6002 GB, free: 4.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.7157, allocations: 25.7 kB / 0.6003 GB, free: 4.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.7157, allocations: 84.08 kB / 0.6004 GB, free: 4.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.7157, allocations: 0 / 0.6004 GB, free: 4.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.7157, allocations: 4 kB / 0.6004 GB, free: 4.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7159, allocations: 318.8 kB / 0.6007 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.7159, allocations: 0 / 0.6007 GB, free: 3.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.7159, allocations: 0 / 0.6007 GB, free: 3.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.7159, allocations: 79.27 kB / 0.6007 GB, free: 3.684 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-05/0.716, allocations: 79.31 kB / 0.6008 GB, free: 3.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.337e-05/0.716, allocations: 33.64 kB / 0.6008 GB, free: 3.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.7161, allocations: 80.38 kB / 0.6009 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.7161, allocations: 78.05 kB / 0.601 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.021e-05/0.7162, allocations: 158.5 kB / 0.6011 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.867e-05/0.7162, allocations: 75.28 kB / 0.6012 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.717e-05/0.7163, allocations: 154.6 kB / 0.6014 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.7164, allocations: 91.25 kB / 0.6014 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.7164, allocations: 79.28 kB / 0.6015 GB, free: 2.863 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.000118/0.7165, allocations: 255.5 kB / 0.6018 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.7166, allocations: 104.9 kB / 0.6019 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.7167, allocations: 104.1 kB / 0.602 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-05/0.7168, allocations: 184.3 kB / 0.6021 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.653e-05/0.7168, allocations: 184.2 kB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-05/0.7169, allocations: 180.3 kB / 0.6025 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.7172, allocations: 405.1 kB / 0.6029 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-05/0.7173, allocations: 101 kB / 0.603 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.7174, allocations: 112.9 kB / 0.6031 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.97e-05/0.7175, allocations: 180.2 kB / 0.6033 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.7176, allocations: 184.3 kB / 0.6034 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.681e-05/0.7176, allocations: 181.1 kB / 0.6036 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-05/0.7177, allocations: 176.3 kB / 0.6038 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.7179, allocations: 315.7 kB / 0.6041 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.718, allocations: 182.1 kB / 0.6042 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.7181, allocations: 184.2 kB / 0.6044 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.7182, allocations: 105.4 kB / 0.6045 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.7183, allocations: 184.2 kB / 0.6047 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.7184, allocations: 109 kB / 0.6048 GB, free: 15.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.7185, allocations: 79.33 kB / 0.6049 GB, free: 15.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7185, allocations: 3.938 kB / 0.6049 GB, free: 15.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008234/0.7193, allocations: 179.7 kB / 0.6051 GB, free: 15.02 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 () * 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.001375/0.7207, allocations: 1.014 MB / 0.606 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.7208, allocations: 0 / 0.606 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7208, allocations: 0 / 0.606 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.7208, allocations: 4 kB / 0.606 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.7212, allocations: 0.5283 MB / 0.6066 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.7217, allocations: 213.8 kB / 0.6068 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.722, allocations: 0.6731 MB / 0.6074 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.191e-05/0.722, allocations: 0 / 0.6074 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.7221, allocations: 11.38 kB / 0.6074 GB, free: 12.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7221, allocations: 4 kB / 0.6074 GB, free: 12.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.7442, allocations: 4.342 MB / 0.6117 GB, free: 8.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.7445, allocations: 209.7 kB / 0.6119 GB, free: 8.043 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.624, allocations: 1.828 kB / 0.6119 GB, free: 8.043 MB / 426.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