Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_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.001142/0.001142, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 72.95 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001739/0.1306, allocations: 486.9 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1337, allocations: 2.034 MB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-06/0.1337, allocations: 0 / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.382e-06/0.1338, allocations: 4 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.183e-06/0.1338, allocations: 0 / 482.6 MB, free: 2.68 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001901/0.1357, allocations: 0.5123 MB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.925e-05/0.1357, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1358, allocations: 4 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.245e-05/0.1358, allocations: 4 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.227e-05/0.1358, allocations: 0 / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-06/0.1358, allocations: 0 / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1373, allocations: 0.8966 MB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.1374, allocations: 0 / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.1374, allocations: 0 / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1386, allocations: 0.7875 MB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1386, allocations: 0 / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1386, allocations: 0 / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1386, allocations: 0 / 484.8 MB, free: 488 kB / 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.0004573/0.1391, allocations: 387.5 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1391, allocations: 8.031 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.1392, allocations: 106 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.1393, allocations: 76.22 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1394, allocations: 239.7 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.1395, allocations: 154.9 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1395, allocations: 158.9 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.215e-05/0.1396, allocations: 109 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.1396, allocations: 75.28 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.1397, allocations: 154.5 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.1397, allocations: 150.6 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.1398, allocations: 150.6 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.1401, allocations: 449.9 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.1402, allocations: 173.1 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.1402, allocations: 88.12 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1402, allocations: 75.28 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.1403, allocations: 113.8 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1403, allocations: 0 / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.17e-05/0.1404, allocations: 33.7 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.1405, allocations: 156.4 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.1405, allocations: 93.8 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1405, allocations: 25.7 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1406, allocations: 80.14 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.1406, allocations: 7.938 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1406, allocations: 13.72 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1407, allocations: 310.8 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.1408, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.1408, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.1408, allocations: 79.27 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/0.1409, allocations: 75.28 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.644e-05/0.1409, allocations: 29.7 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.141, allocations: 89.91 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.141, allocations: 79.22 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.22e-05/0.1411, allocations: 158.6 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.1411, allocations: 75.28 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.305e-05/0.1412, allocations: 154.5 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.1413, allocations: 75.28 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.1413, allocations: 91.2 kB / 489 MB, free: 12.02 MB / 366.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.0001492/0.1415, allocations: 256.4 kB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.1416, allocations: 108.9 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.1417, allocations: 108 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.528e-05/0.1418, allocations: 180.3 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.082e-05/0.1419, allocations: 184.2 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-05/0.1419, allocations: 180.2 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.1423, allocations: 401.2 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.097e-05/0.1423, allocations: 104.9 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.1424, allocations: 113 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.667e-05/0.1425, allocations: 180.2 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.1425, allocations: 188.2 kB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-05/0.1426, allocations: 176.3 kB / 491.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.546e-05/0.1427, allocations: 184.2 kB / 491.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1429, allocations: 303.8 kB / 491.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.143, allocations: 190 kB / 491.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.1431, allocations: 180.3 kB / 492 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.1432, allocations: 116.8 kB / 492.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.1433, allocations: 176.3 kB / 492.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.1434, allocations: 101 kB / 492.4 MB, free: 8.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.1434, allocations: 75.28 kB / 492.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1434, allocations: 3.938 kB / 492.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007193/0.1441, allocations: 152.2 kB / 492.6 MB, free: 8.215 MB / 366.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.001172/0.1453, allocations: 0.9667 MB / 493.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.1454, allocations: 4 kB / 493.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1454, allocations: 0 / 493.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-06/0.1454, allocations: 7.969 kB / 493.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1458, allocations: 457.5 kB / 494 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.1463, allocations: 225.9 kB / 494.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1465, allocations: 0.6728 MB / 494.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.919e-06/0.1465, allocations: 3.938 kB / 494.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.1466, allocations: 7.438 kB / 494.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1466, allocations: 0 / 494.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1718, allocations: 4.239 MB / 499.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/7.968, allocations: 3.828 kB / 499.2 MB, free: 1.648 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)