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.001591/0.001591, allocations: 117.7 kB / 17.78 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.001824/0.001824, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 75.86 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3554, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00183/0.3573, allocations: 490.2 kB / 0.531 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.3605, allocations: 2.037 MB / 0.5329 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-06/0.3605, allocations: 0 / 0.5329 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-06/0.3606, allocations: 0 / 0.5329 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.913e-06/0.3606, allocations: 0 / 0.5329 GB, free: 11.33 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.002126/0.3627, allocations: 0.5194 MB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.151e-05/0.3627, allocations: 4 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.3628, allocations: 1.375 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.124e-05/0.3628, allocations: 0 / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.214e-05/0.3628, allocations: 0 / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-06/0.3628, allocations: 0 / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.3643, allocations: 0.903 MB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.3643, allocations: 1.219 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.3643, allocations: 0 / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009512/0.3653, allocations: 0.7892 MB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3653, allocations: 4 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3653, allocations: 1.125 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3653, allocations: 0 / 0.5351 GB, free: 10.1 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.0003617/0.3657, allocations: 377.4 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3657, allocations: 8.688 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.3658, allocations: 107.2 kB / 0.5356 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.3659, allocations: 80.16 kB / 0.5357 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.366, allocations: 240.7 kB / 0.5359 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.366, allocations: 154.9 kB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.3661, allocations: 156 kB / 0.5362 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.795e-05/0.3662, allocations: 105.1 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.3662, allocations: 80.34 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.3663, allocations: 150.6 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.3664, allocations: 154.6 kB / 0.5367 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.3664, allocations: 151.6 kB / 0.5368 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.3667, allocations: 443.1 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.3668, allocations: 174.1 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.3668, allocations: 80.14 kB / 0.5375 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3669, allocations: 84.42 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.3669, allocations: 114.7 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3669, allocations: 0 / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.923e-05/0.367, allocations: 30.77 kB / 0.5377 GB, free: 7.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.3671, allocations: 152.4 kB / 0.5378 GB, free: 7.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.5e-05/0.3672, allocations: 90.92 kB / 0.5379 GB, free: 7.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3672, allocations: 29.7 kB / 0.5379 GB, free: 7.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.3673, allocations: 81.23 kB / 0.538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3673, allocations: 0 / 0.538 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3673, allocations: 15.84 kB / 0.538 GB, free: 6.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3675, allocations: 310.8 kB / 0.5383 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.3675, allocations: 4 kB / 0.5383 GB, free: 6.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.3675, allocations: 1.125 kB / 0.5383 GB, free: 6.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.3676, allocations: 76.38 kB / 0.5384 GB, free: 6.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-05/0.3676, allocations: 83.3 kB / 0.5385 GB, free: 6.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.832e-05/0.3677, allocations: 27.77 kB / 0.5385 GB, free: 6.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.3677, allocations: 84.59 kB / 0.5386 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.18e-05/0.3678, allocations: 84.3 kB / 0.5387 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.539e-05/0.3679, allocations: 151.6 kB / 0.5388 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.3679, allocations: 84.33 kB / 0.5389 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.819e-05/0.368, allocations: 155.6 kB / 0.5391 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3681, allocations: 80.38 kB / 0.5391 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.3682, allocations: 84.27 kB / 0.5392 GB, free: 5.703 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.0001583/0.3683, allocations: 261.5 kB / 0.5395 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.3684, allocations: 105.9 kB / 0.5396 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.3685, allocations: 112.9 kB / 0.5397 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/0.3686, allocations: 185.3 kB / 0.5398 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.874e-05/0.3687, allocations: 185.3 kB / 0.54 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.3687, allocations: 177.3 kB / 0.5402 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.369, allocations: 394.3 kB / 0.5406 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/0.3691, allocations: 110.2 kB / 0.5407 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.3691, allocations: 110.1 kB / 0.5408 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.743e-05/0.3692, allocations: 189.1 kB / 0.541 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.3693, allocations: 177.4 kB / 0.5411 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.978e-05/0.3694, allocations: 177.3 kB / 0.5413 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.173e-05/0.3695, allocations: 180.2 kB / 0.5415 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3696, allocations: 316.2 kB / 0.5418 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.3697, allocations: 187.1 kB / 0.5419 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3698, allocations: 177.7 kB / 0.5421 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.3699, allocations: 110.3 kB / 0.5422 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.37, allocations: 180.3 kB / 0.5424 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.37, allocations: 106 kB / 0.5425 GB, free: 2.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.3701, allocations: 79.28 kB / 0.5426 GB, free: 2.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 1.438 kB / 0.5426 GB, free: 2.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.371, allocations: 143.6 kB / 0.5427 GB, free: 2.031 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.001028/0.372, allocations: 0.9676 MB / 0.5437 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.282e-05/0.3721, allocations: 5.797 kB / 0.5437 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3721, allocations: 0 / 0.5437 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3721, allocations: 5.25 kB / 0.5437 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3724, allocations: 457.8 kB / 0.5441 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3728, allocations: 218.4 kB / 0.5443 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3732, allocations: 0.6739 MB / 0.545 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.908e-06/0.3732, allocations: 1 kB / 0.545 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.3732, allocations: 8.469 kB / 0.545 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3732, allocations: 4 kB / 0.545 GB, free: 15.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3977, allocations: 4.252 MB / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.101, allocations: 5.672 kB / 0.5491 GB, free: 13.48 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)