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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 112.7 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 180.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1907/0.1907, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3507, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001385/0.3522, allocations: 493 kB / 0.5189 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3547, allocations: 1.984 MB / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-06/0.3548, allocations: 0 / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.3548, allocations: 0 / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.605e-06/0.3548, allocations: 0 / 0.5208 GB, free: 1.594 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.3568, allocations: 0.5226 MB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.279e-05/0.3569, allocations: 3.984 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.3569, allocations: 1.719 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.112e-05/0.3569, allocations: 0 / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.269e-05/0.3569, allocations: 1.094 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.3569, allocations: 0 / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.3585, allocations: 0.8871 MB / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.3585, allocations: 0 / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.3585, allocations: 0 / 0.5222 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3597, allocations: 0.7767 MB / 0.523 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3597, allocations: 0 / 0.523 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3597, allocations: 0 / 0.523 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3597, allocations: 0.75 kB / 0.523 GB, free: 1.027 MB / 382.1 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.0003496/0.3601, allocations: 385.8 kB / 0.5233 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3601, allocations: 12.25 kB / 0.5233 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.3602, allocations: 115.2 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3602, allocations: 76.73 kB / 0.5235 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.8e-05/0.3603, allocations: 236.9 kB / 0.5237 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.3603, allocations: 156.5 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.3604, allocations: 150.9 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.3605, allocations: 111.7 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.3605, allocations: 75.28 kB / 0.5242 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.3606, allocations: 151.4 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.3606, allocations: 154.5 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.3607, allocations: 155.9 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.3609, allocations: 447.2 kB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.361, allocations: 167.5 kB / 0.5252 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.3611, allocations: 80.14 kB / 0.5253 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3611, allocations: 75.28 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.3612, allocations: 116.3 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3612, allocations: 4 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.482e-05/0.3613, allocations: 28.03 kB / 0.5255 GB, free: 14.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.3613, allocations: 156.4 kB / 0.5257 GB, free: 14.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.475e-05/0.3614, allocations: 90.56 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3614, allocations: 27.2 kB / 0.5258 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.3614, allocations: 80.14 kB / 0.5259 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3614, allocations: 0 / 0.5259 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.3615, allocations: 12.41 kB / 0.5259 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3616, allocations: 315.5 kB / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.3616, allocations: 1.906 kB / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.3616, allocations: 3.938 kB / 0.5262 GB, free: 13.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.3617, allocations: 75.28 kB / 0.5263 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.3617, allocations: 76.08 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.288e-05/0.3618, allocations: 34.16 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.3618, allocations: 83.28 kB / 0.5264 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.3619, allocations: 77.75 kB / 0.5265 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.934e-05/0.3619, allocations: 163.2 kB / 0.5267 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-05/0.3619, allocations: 81.89 kB / 0.5268 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.842e-05/0.362, allocations: 150.6 kB / 0.5269 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.3621, allocations: 85.78 kB / 0.527 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3621, allocations: 75.94 kB / 0.5271 GB, free: 12.65 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3622, allocations: 263.1 kB / 0.5273 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.3623, allocations: 115.3 kB / 0.5274 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.3623, allocations: 105 kB / 0.5275 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/0.3624, allocations: 183.3 kB / 0.5277 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.353e-05/0.3625, allocations: 179 kB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/0.3625, allocations: 184.3 kB / 0.528 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3628, allocations: 409.2 kB / 0.5284 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/0.3628, allocations: 102 kB / 0.5285 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.3629, allocations: 107.5 kB / 0.5286 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.601e-05/0.3629, allocations: 181 kB / 0.5288 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.363, allocations: 178.9 kB / 0.529 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.752e-05/0.3631, allocations: 184.9 kB / 0.5291 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001098/0.3632, allocations: 178.8 kB / 0.5293 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3633, allocations: 305 kB / 0.5296 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.3634, allocations: 187.3 kB / 0.5298 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.3635, allocations: 186.8 kB / 0.53 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3636, allocations: 107.2 kB / 0.5301 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.3636, allocations: 181.5 kB / 0.5302 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3637, allocations: 102.5 kB / 0.5303 GB, free: 9.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.3637, allocations: 75.8 kB / 0.5304 GB, free: 9.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3637, allocations: 0 / 0.5304 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008376/0.3645, allocations: 149.4 kB / 0.5306 GB, free: 9 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009629/0.3655, allocations: 0.9738 MB / 0.5315 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.355e-05/0.3656, allocations: 2.125 kB / 0.5315 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3656, allocations: 0 / 0.5315 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3656, allocations: 0 / 0.5315 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3659, allocations: 460.2 kB / 0.5319 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3663, allocations: 220.6 kB / 0.5322 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3665, allocations: 0.6778 MB / 0.5328 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.102e-05/0.3666, allocations: 5.641 kB / 0.5328 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.3666, allocations: 8.469 kB / 0.5328 GB, free: 6.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3666, allocations: 0 / 0.5328 GB, free: 6.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.3885, allocations: 4.267 MB / 0.537 GB, free: 4.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.988, allocations: 17.61 kB / 0.537 GB, free: 4.547 MB / 398.1 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)