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.001644/0.001644, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 205.2 kB / 18.74 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.419/1.419, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3284, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001602/0.33, allocations: 498.2 kB / 0.5311 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3331, allocations: 2.045 MB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-06/0.3331, allocations: 0 / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.933e-06/0.3331, allocations: 0 / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.3331, allocations: 0 / 0.5331 GB, free: 11.4 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.001428/0.3346, allocations: 0.5069 MB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.649e-05/0.3346, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.745e-05/0.3346, allocations: 1.375 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-06/0.3346, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.169e-05/0.3347, allocations: 1.375 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-06/0.3347, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3359, allocations: 0.915 MB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.336, allocations: 0 / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-06/0.336, allocations: 0 / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.337, allocations: 0.8065 MB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.337, allocations: 5.375 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.337, allocations: 0 / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.337, allocations: 0 / 0.5353 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.0004121/0.3374, allocations: 377.1 kB / 0.5356 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3375, allocations: 13.81 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.3375, allocations: 106 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.3376, allocations: 77.25 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3377, allocations: 239.7 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.3378, allocations: 156 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.3379, allocations: 150.9 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.102e-05/0.3379, allocations: 106.2 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.338, allocations: 79.22 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.3381, allocations: 151.6 kB / 0.5367 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/0.3381, allocations: 154.6 kB / 0.5368 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.3382, allocations: 155.8 kB / 0.5369 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3385, allocations: 442 kB / 0.5374 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3386, allocations: 166.2 kB / 0.5375 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.3387, allocations: 93.19 kB / 0.5376 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.3387, allocations: 79.22 kB / 0.5377 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.3388, allocations: 110.8 kB / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3388, allocations: 0 / 0.5378 GB, free: 7.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.192e-05/0.3389, allocations: 30.77 kB / 0.5378 GB, free: 7.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.339, allocations: 153.3 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.241e-05/0.339, allocations: 93.84 kB / 0.5381 GB, free: 7.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3391, allocations: 30.86 kB / 0.5381 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.3391, allocations: 80.14 kB / 0.5382 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.3391, allocations: 1 kB / 0.5382 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3391, allocations: 11.09 kB / 0.5382 GB, free: 6.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3393, allocations: 311.9 kB / 0.5385 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.3393, allocations: 0 / 0.5385 GB, free: 6.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.3393, allocations: 3.938 kB / 0.5385 GB, free: 6.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.3394, allocations: 76.62 kB / 0.5386 GB, free: 6.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.3394, allocations: 79.31 kB / 0.5386 GB, free: 6.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.063e-05/0.3395, allocations: 27.95 kB / 0.5387 GB, free: 6.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.3395, allocations: 85.06 kB / 0.5387 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/0.3396, allocations: 84.42 kB / 0.5388 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-05/0.3396, allocations: 162.5 kB / 0.539 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.3397, allocations: 80.45 kB / 0.5391 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-05/0.3398, allocations: 155.6 kB / 0.5392 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.3398, allocations: 80.28 kB / 0.5393 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3399, allocations: 76.41 kB / 0.5393 GB, free: 5.77 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.0001518/0.34, allocations: 270.6 kB / 0.5396 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.3401, allocations: 106 kB / 0.5397 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.3402, allocations: 111.9 kB / 0.5398 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/0.3403, allocations: 185.3 kB / 0.54 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-05/0.3404, allocations: 177.4 kB / 0.5402 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/0.3405, allocations: 185.3 kB / 0.5403 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3408, allocations: 402.4 kB / 0.5407 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.145e-05/0.3409, allocations: 102.1 kB / 0.5408 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.3409, allocations: 110 kB / 0.5409 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-05/0.341, allocations: 181.4 kB / 0.5411 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.3411, allocations: 181.2 kB / 0.5413 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-05/0.3412, allocations: 181.3 kB / 0.5414 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.003e-05/0.3413, allocations: 181.4 kB / 0.5416 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3415, allocations: 311 kB / 0.5419 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.3416, allocations: 191.1 kB / 0.5421 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.3417, allocations: 181.4 kB / 0.5423 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.3418, allocations: 102.1 kB / 0.5424 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.3419, allocations: 181.3 kB / 0.5425 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.3419, allocations: 106 kB / 0.5426 GB, free: 2.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.342, allocations: 75.28 kB / 0.5427 GB, free: 2.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.342, allocations: 0 / 0.5427 GB, free: 2.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007494/0.3427, allocations: 153.4 kB / 0.5429 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.001163/0.3439, allocations: 0.9708 MB / 0.5438 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.314e-05/0.3439, allocations: 1.547 kB / 0.5438 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.344, allocations: 1 kB / 0.5438 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.344, allocations: 4 kB / 0.5438 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3444, allocations: 457.9 kB / 0.5442 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3448, allocations: 222.7 kB / 0.5445 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3451, allocations: 0.6729 MB / 0.5451 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.165e-06/0.3451, allocations: 1.156 kB / 0.5451 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.3452, allocations: 8.5 kB / 0.5451 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3452, allocations: 4 kB / 0.5451 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3705, allocations: 4.316 MB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.72, allocations: 6.516 kB / 0.5494 GB, free: 13.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)