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.0015/0.0015, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001964/0.001964, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 75.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3313, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001443/0.3328, allocations: 0.4911 MB / 0.531 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3353, allocations: 2.036 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-06/0.3354, allocations: 0 / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-06/0.3354, allocations: 0 / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.252e-06/0.3354, allocations: 0 / 0.533 GB, free: 11.45 MB / 398.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.001425/0.3368, allocations: 0.5112 MB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.618e-05/0.3369, allocations: 3.984 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.545e-05/0.3369, allocations: 1.375 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-06/0.3369, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-06/0.3369, allocations: 5.312 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-06/0.3369, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3381, allocations: 0.8946 MB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-06/0.3381, allocations: 0 / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.3381, allocations: 4.828 kB / 0.5343 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.339, allocations: 0.7972 MB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.339, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.339, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.339, allocations: 0 / 0.5351 GB, free: 10.22 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.0003835/0.3394, allocations: 385 kB / 0.5355 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3395, allocations: 9.344 kB / 0.5355 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.3395, allocations: 111.2 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.3396, allocations: 76.22 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3397, allocations: 235.7 kB / 0.5359 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.3397, allocations: 156.1 kB / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3398, allocations: 150.9 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.777e-05/0.3399, allocations: 110.6 kB / 0.5363 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3399, allocations: 75.28 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.34, allocations: 150.6 kB / 0.5365 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.34, allocations: 156 kB / 0.5367 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.3401, allocations: 154.6 kB / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.3403, allocations: 451.2 kB / 0.5372 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.3404, allocations: 165.1 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.3405, allocations: 81.27 kB / 0.5375 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3405, allocations: 83.22 kB / 0.5376 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.3405, allocations: 111 kB / 0.5377 GB, free: 7.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3406, allocations: 4 kB / 0.5377 GB, free: 7.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.174e-05/0.3406, allocations: 30.77 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.3407, allocations: 153.5 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.544e-05/0.3408, allocations: 89.86 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3408, allocations: 25.7 kB / 0.538 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.3408, allocations: 81.55 kB / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.3408, allocations: 0 / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.3408, allocations: 15.3 kB / 0.538 GB, free: 7.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.3409, allocations: 316.2 kB / 0.5384 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.341, allocations: 4 kB / 0.5384 GB, free: 6.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.341, allocations: 0 / 0.5384 GB, free: 6.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.341, allocations: 76.56 kB / 0.5384 GB, free: 6.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/0.341, allocations: 79.22 kB / 0.5385 GB, free: 6.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.132e-05/0.3411, allocations: 32.64 kB / 0.5385 GB, free: 6.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.3412, allocations: 83.53 kB / 0.5386 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.3412, allocations: 80.3 kB / 0.5387 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.596e-05/0.3412, allocations: 155.8 kB / 0.5388 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.2e-05/0.3413, allocations: 88.22 kB / 0.5389 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.3413, allocations: 151.8 kB / 0.5391 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.3414, allocations: 80.19 kB / 0.5391 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.3414, allocations: 80.5 kB / 0.5392 GB, free: 5.828 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.0001138/0.3416, allocations: 265.4 kB / 0.5395 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.3416, allocations: 106 kB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.3417, allocations: 121 kB / 0.5397 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.897e-05/0.3417, allocations: 177.3 kB / 0.5399 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.187e-05/0.3418, allocations: 181.4 kB / 0.54 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/0.3419, allocations: 181.2 kB / 0.5402 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.3421, allocations: 402.2 kB / 0.5406 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.3421, allocations: 106.1 kB / 0.5407 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.3422, allocations: 102 kB / 0.5408 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.3422, allocations: 185.1 kB / 0.541 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.3423, allocations: 181.4 kB / 0.5411 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.097e-05/0.3424, allocations: 181.4 kB / 0.5413 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.592e-05/0.3424, allocations: 185.1 kB / 0.5415 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3425, allocations: 311.2 kB / 0.5418 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3426, allocations: 183 kB / 0.542 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3427, allocations: 185.3 kB / 0.5421 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3428, allocations: 106.1 kB / 0.5422 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3428, allocations: 181.3 kB / 0.5424 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.3429, allocations: 106 kB / 0.5425 GB, free: 2.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.456e-05/0.3429, allocations: 75.28 kB / 0.5426 GB, free: 2.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 1.25 kB / 0.5426 GB, free: 2.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000648/0.3436, allocations: 149.9 kB / 0.5427 GB, free: 2.148 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.0009447/0.3445, allocations: 0.969 MB / 0.5437 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.951e-05/0.3446, allocations: 5.484 kB / 0.5437 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3446, allocations: 0 / 0.5437 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.3446, allocations: 1.125 kB / 0.5437 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3449, allocations: 453.2 kB / 0.5441 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.3453, allocations: 224.9 kB / 0.5443 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3455, allocations: 0.6701 MB / 0.545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.326e-06/0.3455, allocations: 1.312 kB / 0.545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.3456, allocations: 7.438 kB / 0.545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3456, allocations: 1.125 kB / 0.545 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3701, allocations: 4.268 MB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.109, allocations: 8.453 kB / 0.5492 GB, free: 13.59 MB / 414.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)