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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 360.8 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 91.84 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3109, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00165/0.3125, allocations: 499.3 kB / 0.5612 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.3157, allocations: 2.074 MB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-06/0.3158, allocations: 0 / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.567e-06/0.3158, allocations: 0 / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.3158, allocations: 0 / 0.5632 GB, free: 1.715 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.001815/0.3176, allocations: 0.5556 MB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.362e-05/0.3176, allocations: 3.938 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.512e-05/0.3176, allocations: 7.938 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-06/0.3176, allocations: 0 / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.032e-05/0.3176, allocations: 3.984 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-06/0.3176, allocations: 0 / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.3193, allocations: 1.13 MB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3193, allocations: 4 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.3193, allocations: 4 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.3206, allocations: 0.8358 MB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3206, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3206, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3206, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.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.0004632/0.3211, allocations: 301.7 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3211, allocations: 8.031 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.241e-05/0.3212, allocations: 114 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.3213, allocations: 80.22 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3214, allocations: 181.8 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.3215, allocations: 154.9 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3215, allocations: 150.9 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.3216, allocations: 105.1 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.3216, allocations: 79.27 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.3217, allocations: 154.6 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/0.3218, allocations: 150.6 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.3219, allocations: 154.5 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.3222, allocations: 417 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.3223, allocations: 173.1 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.3223, allocations: 84.08 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.3224, allocations: 75.28 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.603e-05/0.3225, allocations: 125.8 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3225, allocations: 0 / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.845e-05/0.3225, allocations: 25.7 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.3226, allocations: 152.4 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.3227, allocations: 93.86 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3227, allocations: 25.7 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.3227, allocations: 80.14 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.3227, allocations: 3.984 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3228, allocations: 13.72 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3229, allocations: 310.8 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.3229, allocations: 0 / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.3229, allocations: 3.984 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.323, allocations: 79.31 kB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/0.323, allocations: 79.28 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.372e-05/0.3231, allocations: 33.64 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.3231, allocations: 87.16 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/0.3232, allocations: 83.36 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-05/0.3232, allocations: 154.5 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.319e-05/0.3233, allocations: 75.28 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.951e-05/0.3233, allocations: 154.6 kB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.3234, allocations: 87.2 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.3235, allocations: 75.28 kB / 0.5696 GB, free: 10.92 MB / 414.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.0001535/0.3236, allocations: 260.4 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3237, allocations: 112.9 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.636e-05/0.3238, allocations: 111.8 kB / 0.5701 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-05/0.3238, allocations: 176.3 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-05/0.3239, allocations: 188.2 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-05/0.324, allocations: 184.3 kB / 0.5706 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3243, allocations: 368.2 kB / 0.571 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-05/0.3243, allocations: 109 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.3244, allocations: 105 kB / 0.5712 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-05/0.3245, allocations: 188.1 kB / 0.5714 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.3246, allocations: 180.3 kB / 0.5715 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.36e-05/0.3246, allocations: 180.2 kB / 0.5717 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.499e-05/0.3247, allocations: 180.2 kB / 0.5719 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3249, allocations: 311.8 kB / 0.5722 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3249, allocations: 108.9 kB / 0.5723 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.325, allocations: 180.2 kB / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.3251, allocations: 105 kB / 0.5726 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.3252, allocations: 188.2 kB / 0.5727 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.3253, allocations: 101 kB / 0.5728 GB, free: 7.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.3253, allocations: 75.28 kB / 0.5729 GB, free: 7.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3253, allocations: 0 / 0.5729 GB, free: 7.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.3259, allocations: 147.6 kB / 0.573 GB, free: 7.234 MB / 414.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.001141/0.3271, allocations: 0.9807 MB / 0.574 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.188e-05/0.3271, allocations: 0 / 0.574 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3271, allocations: 4 kB / 0.574 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3271, allocations: 496 / 0.574 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3275, allocations: 455.7 kB / 0.5744 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.328, allocations: 225.6 kB / 0.5747 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3284, allocations: 0.669 MB / 0.5753 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.122e-05/0.3284, allocations: 4 kB / 0.5753 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.3284, allocations: 11.44 kB / 0.5753 GB, free: 4.801 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3284, allocations: 3.938 kB / 0.5753 GB, free: 4.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.3605, allocations: 4.438 MB / 0.5797 GB, free: 472 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 4.062 kB / 0.5797 GB, free: 468 kB / 414.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.297453776933253] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.619410411920398 11.645167044999999 11.319792658999999 Calling exit ...