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.00169/0.00169, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00216/0.00216, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2265/0.2265, allocations: 46.96 MB / 360.8 MB, free: 3.953 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.002531/0.002531, allocations: 83.88 kB / 0.4961 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.326, allocations: 66.08 MB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001794/0.3278, allocations: 0.4917 MB / 0.5611 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.3314, allocations: 1.954 MB / 0.5631 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-06/0.3314, allocations: 4 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.218e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.283e-06/0.3314, allocations: 0 / 0.5631 GB, free: 1.629 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.002094/0.3335, allocations: 0.5565 MB / 0.5636 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.37e-05/0.3335, allocations: 3.938 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.3336, allocations: 7.922 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-06/0.3336, allocations: 0 / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-06/0.3336, allocations: 0 / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-06/0.3336, allocations: 0 / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3353, allocations: 0.8575 MB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3353, allocations: 4 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.3353, allocations: 4 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.3369, allocations: 0.7657 MB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3369, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3369, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.3369, allocations: 0 / 0.5652 GB, free: 15.43 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.0006718/0.3376, allocations: 305.6 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.3377, allocations: 12.03 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.893e-05/0.3377, allocations: 110 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.3378, allocations: 76.22 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.338, allocations: 181.8 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.3381, allocations: 158.9 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.3381, allocations: 150.9 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.424e-05/0.3382, allocations: 109.1 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.3383, allocations: 75.28 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.3384, allocations: 154.6 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/0.3384, allocations: 150.6 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.17e-05/0.3385, allocations: 158.5 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3389, allocations: 413 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.339, allocations: 165.1 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.339, allocations: 84.14 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.3391, allocations: 75.28 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/0.3392, allocations: 121.8 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3392, allocations: 0 / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.04e-05/0.3393, allocations: 33.62 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3394, allocations: 152.4 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.3394, allocations: 89.86 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3394, allocations: 29.7 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.3395, allocations: 80.14 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3395, allocations: 0 / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.3395, allocations: 9.719 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3397, allocations: 318.8 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.3397, allocations: 4 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.3398, allocations: 25.7 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.3398, allocations: 75.28 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/0.3398, allocations: 75.28 kB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.511e-05/0.3399, allocations: 33.64 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.34, allocations: 91.14 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-05/0.34, allocations: 87.3 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.169e-05/0.3401, allocations: 154.6 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.3401, allocations: 79.22 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.809e-05/0.3402, allocations: 150.6 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.3403, allocations: 83.22 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3403, allocations: 83.31 kB / 0.5692 GB, free: 11.14 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.0001522/0.3405, allocations: 260.4 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3406, allocations: 112.8 kB / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.3406, allocations: 107.8 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.603e-05/0.3407, allocations: 180.3 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.766e-05/0.3408, allocations: 184.2 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-05/0.3409, allocations: 176.3 kB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.3412, allocations: 376.2 kB / 0.5705 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.512e-05/0.3413, allocations: 105 kB / 0.5706 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3413, allocations: 101 kB / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.3414, allocations: 192.1 kB / 0.5709 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.3415, allocations: 184.2 kB / 0.5711 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.333e-05/0.3416, allocations: 180.2 kB / 0.5712 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-05/0.3417, allocations: 180.3 kB / 0.5714 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3419, allocations: 303.8 kB / 0.5717 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.342, allocations: 108.9 kB / 0.5718 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3421, allocations: 184.2 kB / 0.572 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3422, allocations: 101 kB / 0.5721 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3423, allocations: 184.2 kB / 0.5722 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.3423, allocations: 104.9 kB / 0.5723 GB, free: 7.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.3424, allocations: 83.28 kB / 0.5724 GB, free: 7.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3424, allocations: 0 / 0.5724 GB, free: 7.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.3431, allocations: 147.6 kB / 0.5726 GB, free: 7.461 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.001283/0.3444, allocations: 0.9808 MB / 0.5735 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.411e-05/0.3444, allocations: 3.938 kB / 0.5735 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3444, allocations: 4 kB / 0.5735 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.3444, allocations: 0 / 0.5735 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3448, allocations: 462.5 kB / 0.574 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.3453, allocations: 218.1 kB / 0.5742 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.3454, allocations: 51.36 kB / 0.5742 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.062e-05/0.3454, allocations: 4 kB / 0.5742 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.3454, allocations: 7.438 kB / 0.5742 GB, free: 5.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3454, allocations: 4 kB / 0.5742 GB, free: 5.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3795, allocations: 4.846 MB / 0.579 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 0 / 0.579 GB, free: 0.9062 MB / 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.971065009012818] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.819409090094268 11.835828348 11.495714764 Calling exit ...