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.001267/0.001267, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001614/0.001614, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.3 MB, free: 15.21 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.2185/0.2185, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 61.69 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.143, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002036/0.1451, allocations: 491.1 kB / 469.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1477, allocations: 1.979 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-06/0.1478, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.667e-06/0.1478, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.1478, allocations: 0 / 471.8 MB, free: 11.8 MB / 350.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.001609/0.1494, allocations: 0.5273 MB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.4e-05/0.1495, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.572e-05/0.1495, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-06/0.1495, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-06/0.1495, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.1495, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1508, allocations: 0.8848 MB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-06/0.1508, allocations: 4 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-06/0.1508, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1519, allocations: 0.7758 MB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1519, allocations: 4 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1519, allocations: 0 / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1519, allocations: 0 / 474 MB, free: 9.602 MB / 350.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.0004135/0.1523, allocations: 375.5 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1523, allocations: 8.031 kB / 474.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.1524, allocations: 110 kB / 474.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.1525, allocations: 80.22 kB / 474.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1526, allocations: 243.6 kB / 474.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.1526, allocations: 150.9 kB / 475 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1527, allocations: 150.9 kB / 475.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.499e-05/0.1528, allocations: 105.1 kB / 475.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.1528, allocations: 75.28 kB / 475.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.1529, allocations: 154.6 kB / 475.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.1529, allocations: 158.5 kB / 475.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.153, allocations: 154.5 kB / 475.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.1532, allocations: 442 kB / 476.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1533, allocations: 169.1 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.1534, allocations: 80.14 kB / 476.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1534, allocations: 75.28 kB / 476.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.1535, allocations: 113.8 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1535, allocations: 0 / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.291e-05/0.1535, allocations: 37.64 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.1536, allocations: 160.4 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.362e-05/0.1537, allocations: 89.86 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1537, allocations: 25.7 kB / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.1537, allocations: 84.14 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.1538, allocations: 0 / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1538, allocations: 9.719 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1539, allocations: 310.8 kB / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/0.1539, allocations: 0 / 477.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.1539, allocations: 4 kB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.154, allocations: 83.22 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.089e-05/0.154, allocations: 75.33 kB / 477.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.706e-05/0.1541, allocations: 37.62 kB / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.1541, allocations: 87.22 kB / 477.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.1541, allocations: 83.27 kB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/0.1542, allocations: 154.6 kB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.1542, allocations: 83.25 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/0.1543, allocations: 154.5 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.1544, allocations: 83.22 kB / 478.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1544, allocations: 75.28 kB / 478.2 MB, free: 5.156 MB / 350.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 9.923e-05/0.1545, allocations: 256.4 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.1546, allocations: 120.8 kB / 478.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1546, allocations: 108.1 kB / 478.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/0.1547, allocations: 176.3 kB / 478.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.389e-05/0.1547, allocations: 180.2 kB / 479 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/0.1548, allocations: 180.3 kB / 479.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.155, allocations: 405.2 kB / 479.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/0.1551, allocations: 105 kB / 479.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.1551, allocations: 101 kB / 479.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.1552, allocations: 188.1 kB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.1552, allocations: 180.3 kB / 480.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.835e-05/0.1553, allocations: 184.2 kB / 480.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-05/0.1553, allocations: 184.3 kB / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1555, allocations: 299.8 kB / 480.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.1555, allocations: 190 kB / 481 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.1556, allocations: 184.2 kB / 481.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1557, allocations: 101 kB / 481.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.1558, allocations: 184.3 kB / 481.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.1558, allocations: 104.9 kB / 481.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.1558, allocations: 75.28 kB / 481.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 0 / 481.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000624/0.1565, allocations: 152.2 kB / 481.8 MB, free: 1.352 MB / 350.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.0009597/0.1574, allocations: 0.9681 MB / 482.7 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.408e-05/0.1575, allocations: 11.94 kB / 482.7 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1575, allocations: 0 / 482.7 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1575, allocations: 0 / 482.7 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1578, allocations: 462.6 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.1583, allocations: 217.9 kB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.1585, allocations: 0.6729 MB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.893e-06/0.1585, allocations: 4 kB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.1585, allocations: 11.44 kB / 484.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1585, allocations: 0 / 484.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.1779, allocations: 4.228 MB / 488.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.04, allocations: 16.64 kB / 488.3 MB, free: 10.79 MB / 366.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)