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.001268/0.001268, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2465/0.2465, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002272/0.002272, allocations: 87.02 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001715/0.1388, allocations: 479.8 kB / 480.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1419, allocations: 2.056 MB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-06/0.142, allocations: 4 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-06/0.142, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.143e-06/0.142, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.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.001631/0.1436, allocations: 0.4932 MB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.867e-05/0.1437, allocations: 7.984 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.1437, allocations: 4 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.134e-05/0.1437, allocations: 0 / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-06/0.1437, allocations: 3.938 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-06/0.1437, allocations: 0 / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.1451, allocations: 0.8967 MB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1451, allocations: 3.984 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.1451, allocations: 7.938 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1462, allocations: 0.7953 MB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1462, allocations: 4 kB / 485 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.1462, allocations: 0 / 485 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1462, allocations: 3.938 kB / 485 MB, free: 376 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.0004662/0.1467, allocations: 375.6 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1468, allocations: 12.03 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.645e-05/0.1468, allocations: 106 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.1469, allocations: 80.2 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1471, allocations: 235.7 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.1471, allocations: 158.9 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.1472, allocations: 150.9 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.263e-05/0.1473, allocations: 109.1 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.1474, allocations: 75.28 kB / 486.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.1474, allocations: 150.6 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.1475, allocations: 154.6 kB / 486.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1476, allocations: 154.6 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1479, allocations: 445.9 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1481, allocations: 169.1 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.1481, allocations: 88.14 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.1482, allocations: 75.28 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.1483, allocations: 117.8 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1483, allocations: 0 / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.1484, allocations: 29.64 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.1485, allocations: 156.4 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.1485, allocations: 89.86 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1485, allocations: 33.64 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1486, allocations: 80.14 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.1486, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1486, allocations: 9.719 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1488, allocations: 318.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.1488, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.1488, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.1488, allocations: 75.28 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.1489, allocations: 83.31 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.22e-05/0.1489, allocations: 33.64 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.149, allocations: 83.22 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.149, allocations: 75.28 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.362e-05/0.1491, allocations: 150.6 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.523e-05/0.1491, allocations: 83.22 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001187/0.1493, allocations: 150.6 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.1494, allocations: 87.2 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.1495, allocations: 79.22 kB / 489.1 MB, free: 11.93 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.0002325/0.1497, allocations: 264.4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.1498, allocations: 104.9 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.1498, allocations: 108 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/0.1499, allocations: 188.2 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-05/0.15, allocations: 180.2 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/0.1501, allocations: 180.3 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1504, allocations: 393.2 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.1504, allocations: 112.9 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.1505, allocations: 105 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.159e-05/0.1506, allocations: 192.1 kB / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.074e-05/0.1507, allocations: 180.3 kB / 491.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-05/0.1507, allocations: 184.3 kB / 491.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.1508, allocations: 180.2 kB / 491.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.151, allocations: 311.8 kB / 491.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.1511, allocations: 182 kB / 491.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.1512, allocations: 180.2 kB / 492.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.1513, allocations: 109 kB / 492.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.1514, allocations: 176.3 kB / 492.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.1514, allocations: 108.9 kB / 492.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.1515, allocations: 79.22 kB / 492.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1515, allocations: 0 / 492.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.1521, allocations: 152 kB / 492.7 MB, free: 8.117 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.00111/0.1533, allocations: 0.9785 MB / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.93e-05/0.1533, allocations: 3.938 kB / 493.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1533, allocations: 4 kB / 493.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1534, allocations: 4.031 kB / 493.7 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1537, allocations: 454.6 kB / 494.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1542, allocations: 233.8 kB / 494.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1545, allocations: 0.6729 MB / 495.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.777e-06/0.1545, allocations: 0 / 495.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1546, allocations: 7.438 kB / 495.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1546, allocations: 4 kB / 495.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.1828, allocations: 4.299 MB / 499.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.313, allocations: 15.95 kB / 499.4 MB, free: 1.48 MB / 366.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)