Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2162/0.2162, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 83.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001446/0.3256, allocations: 494 kB / 0.5311 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3286, allocations: 2.051 MB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-06/0.3286, allocations: 0 / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-06/0.3286, allocations: 1.594 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.262e-06/0.3286, allocations: 0 / 0.5331 GB, free: 11.39 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760: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.001459/0.3301, allocations: 0.4951 MB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.46e-05/0.3301, allocations: 4 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.882e-05/0.3301, allocations: 9.359 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-06/0.3301, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.194e-05/0.3302, allocations: 5.359 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-06/0.3302, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.3315, allocations: 0.9035 MB / 0.5344 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3315, allocations: 0 / 0.5344 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.023e-05/0.3315, allocations: 0 / 0.5344 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3326, allocations: 0.8075 MB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3326, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3326, allocations: 4 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3326, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.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.0004504/0.3331, allocations: 377.4 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3331, allocations: 9.281 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.3332, allocations: 111.3 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.3333, allocations: 76.22 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3334, allocations: 235.7 kB / 0.536 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3335, allocations: 156.3 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.3336, allocations: 158.9 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.636e-05/0.3337, allocations: 110.3 kB / 0.5364 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.3337, allocations: 79.27 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.3338, allocations: 150.6 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.3339, allocations: 151.8 kB / 0.5368 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.334, allocations: 154.6 kB / 0.5369 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.3343, allocations: 443.5 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3344, allocations: 170.3 kB / 0.5375 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3344, allocations: 80.14 kB / 0.5376 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.3345, allocations: 79.28 kB / 0.5377 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.3346, allocations: 118.9 kB / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3346, allocations: 0 / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.541e-05/0.3346, allocations: 31 kB / 0.5378 GB, free: 7.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.3347, allocations: 157.5 kB / 0.538 GB, free: 7.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.3348, allocations: 89.86 kB / 0.538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3348, allocations: 25.7 kB / 0.5381 GB, free: 7.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.3349, allocations: 85.11 kB / 0.5381 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.3349, allocations: 0 / 0.5381 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3349, allocations: 11.81 kB / 0.5382 GB, free: 6.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3351, allocations: 310.8 kB / 0.5385 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.3351, allocations: 1.125 kB / 0.5385 GB, free: 6.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.3351, allocations: 0 / 0.5385 GB, free: 6.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.3352, allocations: 76.25 kB / 0.5385 GB, free: 6.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.3352, allocations: 75.31 kB / 0.5386 GB, free: 6.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.912e-05/0.3353, allocations: 41.12 kB / 0.5386 GB, free: 6.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.3353, allocations: 84.16 kB / 0.5387 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/0.3354, allocations: 84.48 kB / 0.5388 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.339e-05/0.3355, allocations: 150.6 kB / 0.5389 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.3355, allocations: 84.58 kB / 0.539 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.619e-05/0.3356, allocations: 151.8 kB / 0.5392 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.3357, allocations: 80.69 kB / 0.5392 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3357, allocations: 79.22 kB / 0.5393 GB, free: 5.773 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.0001458/0.3359, allocations: 270.8 kB / 0.5396 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.336, allocations: 106.4 kB / 0.5397 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.336, allocations: 111.8 kB / 0.5398 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.96e-05/0.3361, allocations: 181.7 kB / 0.54 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.648e-05/0.3362, allocations: 181.5 kB / 0.5401 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/0.3363, allocations: 181.7 kB / 0.5403 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3366, allocations: 401.2 kB / 0.5407 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/0.3366, allocations: 106.1 kB / 0.5408 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.3367, allocations: 102.1 kB / 0.5409 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.488e-05/0.3368, allocations: 189.6 kB / 0.5411 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.864e-05/0.3369, allocations: 185.6 kB / 0.5412 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.86e-05/0.337, allocations: 180.3 kB / 0.5414 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.121e-05/0.3371, allocations: 181.6 kB / 0.5416 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3372, allocations: 311.6 kB / 0.5419 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.3373, allocations: 190 kB / 0.5421 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.3374, allocations: 178.9 kB / 0.5422 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3375, allocations: 104.9 kB / 0.5423 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.3376, allocations: 177.5 kB / 0.5425 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-05/0.3377, allocations: 110.4 kB / 0.5426 GB, free: 2.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.3377, allocations: 79.28 kB / 0.5427 GB, free: 2.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3377, allocations: 0 / 0.5427 GB, free: 2.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000793/0.3385, allocations: 149.2 kB / 0.5428 GB, free: 2.09 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.001191/0.3397, allocations: 0.9761 MB / 0.5438 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.989e-05/0.3398, allocations: 1.672 kB / 0.5438 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3398, allocations: 0 / 0.5438 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.3398, allocations: 9.25 kB / 0.5438 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3402, allocations: 458.3 kB / 0.5442 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.3407, allocations: 221.1 kB / 0.5444 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.341, allocations: 0.67 MB / 0.5451 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.546e-06/0.341, allocations: 0.9688 kB / 0.5451 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.3411, allocations: 8.438 kB / 0.5451 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.8e-07/0.3411, allocations: 0 / 0.5451 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.371, allocations: 4.33 MB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.503, allocations: 13.84 kB / 0.5494 GB, free: 13.51 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)