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.001489/0.001489, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 79.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3777, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001612/0.3793, allocations: 495.9 kB / 0.531 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3825, allocations: 2.033 MB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-06/0.3826, allocations: 5.781 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-06/0.3826, allocations: 0 / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.3826, 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.001618/0.3842, allocations: 0.5083 MB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.668e-05/0.3842, allocations: 5.359 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.3843, allocations: 5.359 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-06/0.3843, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-06/0.3843, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-06/0.3843, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3856, allocations: 0.8947 MB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.3856, allocations: 1.156 kB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.3856, allocations: 3.984 kB / 0.5343 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.3866, allocations: 0.7938 MB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3866, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3866, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3866, 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.0004936/0.3871, allocations: 377.2 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3872, allocations: 9.75 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/0.3873, allocations: 111 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3873, allocations: 80.16 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3875, allocations: 240.8 kB / 0.5359 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.3876, allocations: 154.9 kB / 0.536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.3876, allocations: 152 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3878, allocations: 105.1 kB / 0.5363 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.3878, allocations: 87.2 kB / 0.5364 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.3879, allocations: 151.7 kB / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.3879, allocations: 150.6 kB / 0.5367 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.388, allocations: 151.6 kB / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.3883, allocations: 443 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.3884, allocations: 170.2 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.3884, allocations: 84.08 kB / 0.5375 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3884, allocations: 76.31 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.3885, allocations: 114.8 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3885, allocations: 0 / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.146e-05/0.3886, allocations: 30.86 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.3887, allocations: 160.4 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.451e-05/0.3887, allocations: 90.89 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3887, allocations: 25.7 kB / 0.5379 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.3888, allocations: 81.17 kB / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3888, allocations: 0 / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.3888, allocations: 11.81 kB / 0.538 GB, free: 7.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3889, allocations: 310.8 kB / 0.5383 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.3889, allocations: 4 kB / 0.5383 GB, free: 6.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.389, allocations: 5 kB / 0.5383 GB, free: 6.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.389, allocations: 76.41 kB / 0.5384 GB, free: 6.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/0.389, allocations: 75.28 kB / 0.5385 GB, free: 6.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.188e-05/0.3891, allocations: 27.92 kB / 0.5385 GB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.3891, allocations: 84.53 kB / 0.5386 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.3892, allocations: 84.31 kB / 0.5387 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.594e-05/0.3892, allocations: 163.7 kB / 0.5388 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.3893, allocations: 80.58 kB / 0.5389 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.595e-05/0.3894, allocations: 154.5 kB / 0.5391 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.3894, allocations: 76.38 kB / 0.5391 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3895, allocations: 76.25 kB / 0.5392 GB, free: 5.84 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.0001574/0.3896, allocations: 266.5 kB / 0.5395 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3897, allocations: 117.9 kB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.3898, allocations: 109 kB / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/0.3898, allocations: 181.4 kB / 0.5398 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001294/0.39, allocations: 177.4 kB / 0.54 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/0.39, allocations: 181.4 kB / 0.5402 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3903, allocations: 406.6 kB / 0.5406 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-05/0.3903, allocations: 104.9 kB / 0.5407 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3904, allocations: 106.3 kB / 0.5408 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.802e-05/0.3905, allocations: 181.5 kB / 0.5409 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.3906, allocations: 185.5 kB / 0.5411 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.195e-05/0.3906, allocations: 176.3 kB / 0.5413 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.995e-05/0.3907, allocations: 181.4 kB / 0.5415 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3909, allocations: 307.6 kB / 0.5418 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.391, allocations: 198.9 kB / 0.5419 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.391, allocations: 177.4 kB / 0.5421 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3911, allocations: 110 kB / 0.5422 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.3912, allocations: 181.4 kB / 0.5424 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3912, allocations: 102 kB / 0.5425 GB, free: 2.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.3913, allocations: 79.27 kB / 0.5426 GB, free: 2.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3913, allocations: 1.062 kB / 0.5426 GB, free: 2.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006966/0.392, allocations: 144.1 kB / 0.5427 GB, free: 2.16 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.001015/0.3931, allocations: 0.9645 MB / 0.5436 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.024e-05/0.3931, allocations: 1.453 kB / 0.5436 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3931, allocations: 4.969 kB / 0.5437 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3931, allocations: 0 / 0.5437 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3935, allocations: 458.2 kB / 0.5441 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.394, allocations: 222.2 kB / 0.5443 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3942, allocations: 0.6735 MB / 0.545 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.696e-06/0.3942, allocations: 0.625 kB / 0.545 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.3943, allocations: 8.625 kB / 0.545 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3943, allocations: 0 / 0.545 GB, free: 15.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.4195, allocations: 4.262 MB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.149, allocations: 5.641 kB / 0.5491 GB, free: 13.61 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)