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.001235/0.001235, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001221/0.001221, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2074/0.2074, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3402, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001363/0.3416, allocations: 494.1 kB / 0.5189 GB, free: 3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3439, allocations: 1.981 MB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-06/0.344, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-06/0.344, allocations: 0 / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.783e-06/0.344, allocations: 1.375 kB / 0.5208 GB, free: 1.605 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.001484/0.3455, allocations: 0.5209 MB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 1.474e-05/0.3455, allocations: 1.25 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.741e-05/0.3455, allocations: 0.7031 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-06/0.3455, allocations: 1.156 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.026e-05/0.3456, allocations: 3.984 kB / 0.5213 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-06/0.3456, allocations: 4 kB / 0.5213 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.3468, allocations: 0.8788 MB / 0.5222 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.3468, allocations: 3.984 kB / 0.5222 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.3469, allocations: 0 / 0.5222 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.348, allocations: 0.7816 MB / 0.523 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.348, allocations: 0 / 0.523 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.348, allocations: 0 / 0.523 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.348, allocations: 0 / 0.523 GB, free: 1.035 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.0003338/0.3483, allocations: 388.6 kB / 0.5233 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3484, allocations: 9.875 kB / 0.5233 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3484, allocations: 111.2 kB / 0.5235 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3485, allocations: 76.22 kB / 0.5235 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.3486, allocations: 238.2 kB / 0.5238 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.3486, allocations: 150.9 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.3487, allocations: 150.9 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.3488, allocations: 114.9 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.3488, allocations: 75.28 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3489, allocations: 156.8 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.349, allocations: 154.5 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.349, allocations: 151.9 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3493, allocations: 442.8 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3495, allocations: 174.8 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.3495, allocations: 81.33 kB / 0.5253 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3495, allocations: 75.28 kB / 0.5254 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/0.3496, allocations: 115.5 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3496, allocations: 0 / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.3497, allocations: 28.38 kB / 0.5255 GB, free: 14.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.3498, allocations: 153.1 kB / 0.5257 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.983e-05/0.3498, allocations: 93.8 kB / 0.5258 GB, free: 13.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3499, allocations: 27.05 kB / 0.5258 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.3499, allocations: 80.7 kB / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.3499, allocations: 0 / 0.5259 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3499, allocations: 20.95 kB / 0.5259 GB, free: 13.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3501, allocations: 310.8 kB / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-06/0.3501, allocations: 0 / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.3501, allocations: 5.781 kB / 0.5262 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.3501, allocations: 80.47 kB / 0.5263 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/0.3502, allocations: 75.28 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.277e-05/0.3502, allocations: 29.31 kB / 0.5264 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.3503, allocations: 83.72 kB / 0.5265 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.3503, allocations: 85.06 kB / 0.5265 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.648e-05/0.3504, allocations: 152.4 kB / 0.5267 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.433e-05/0.3505, allocations: 80.81 kB / 0.5268 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.305e-05/0.3505, allocations: 155.6 kB / 0.5269 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.3506, allocations: 84.73 kB / 0.527 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.3507, allocations: 80.86 kB / 0.5271 GB, free: 12.66 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.0001398/0.3508, allocations: 263.3 kB / 0.5273 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3509, allocations: 106.9 kB / 0.5274 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.3509, allocations: 109.9 kB / 0.5275 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/0.351, allocations: 181 kB / 0.5277 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.971e-05/0.3511, allocations: 178.8 kB / 0.5279 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/0.3512, allocations: 186.6 kB / 0.528 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3514, allocations: 396.7 kB / 0.5284 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.3515, allocations: 105.7 kB / 0.5285 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.3515, allocations: 102 kB / 0.5286 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.3516, allocations: 186.8 kB / 0.5288 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.3517, allocations: 182.6 kB / 0.529 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-05/0.3518, allocations: 184.9 kB / 0.5291 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.652e-05/0.3519, allocations: 181.8 kB / 0.5293 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.352, allocations: 301.2 kB / 0.5296 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.3521, allocations: 192.3 kB / 0.5298 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.3522, allocations: 183.1 kB / 0.53 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.3523, allocations: 106.4 kB / 0.5301 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.3524, allocations: 178.2 kB / 0.5302 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3524, allocations: 106.6 kB / 0.5303 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.3525, allocations: 75.94 kB / 0.5304 GB, free: 9.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3525, allocations: 3.938 kB / 0.5304 GB, free: 9.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000717/0.3532, allocations: 144.1 kB / 0.5306 GB, free: 9.012 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.001015/0.3542, allocations: 0.9786 MB / 0.5315 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 3.836e-05/0.3543, allocations: 2.359 kB / 0.5315 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3543, allocations: 0 / 0.5315 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.3543, allocations: 5.031 kB / 0.5315 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3547, allocations: 462.2 kB / 0.532 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.3551, allocations: 215.8 kB / 0.5322 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3554, allocations: 0.6754 MB / 0.5328 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.816e-06/0.3554, allocations: 0.6562 kB / 0.5328 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.3555, allocations: 9.25 kB / 0.5328 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 1.924e-06/0.3555, allocations: 0 / 0.5328 GB, free: 6.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.3813, allocations: 4.266 MB / 0.537 GB, free: 4.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.374, allocations: 6.109 kB / 0.537 GB, free: 4.559 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)