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.001741/0.001741, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.002039/0.002039, allocations: 208 kB / 23.77 MB, free: 4.434 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2449/0.2449, allocations: 46.94 MB / 360.9 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 179] 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.002381/0.002381, allocations: 79.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3198, allocations: 66.09 MB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001612/0.3214, allocations: 495.6 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3245, allocations: 1.954 MB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-06/0.3245, allocations: 4 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.477e-06/0.3245, allocations: 0 / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-07/0.3245, allocations: 0 / 0.5631 GB, free: 1.566 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.001764/0.3263, allocations: 0.5604 MB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.286e-05/0.3263, allocations: 0 / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.416e-05/0.3263, allocations: 0 / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-06/0.3263, allocations: 3.984 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-06/0.3263, allocations: 0 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-06/0.3263, allocations: 0 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3277, allocations: 0.8576 MB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-06/0.3277, allocations: 0 / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.3278, allocations: 4 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3288, allocations: 0.7617 MB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3288, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3288, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.3288, allocations: 4 kB / 0.5653 GB, free: 15.38 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.0003717/0.3291, allocations: 309.6 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3292, allocations: 12.03 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.3293, allocations: 110 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.3293, allocations: 76.22 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3294, allocations: 181.8 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.3295, allocations: 154.9 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.3296, allocations: 150.9 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.42e-05/0.3297, allocations: 113 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3297, allocations: 75.28 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/0.3298, allocations: 154.6 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.824e-05/0.3298, allocations: 150.6 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.3299, allocations: 150.6 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3302, allocations: 417 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3303, allocations: 173.1 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.3304, allocations: 84.12 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.3304, allocations: 75.28 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/0.3305, allocations: 117.8 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3305, allocations: 0 / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.948e-05/0.3305, allocations: 25.7 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3306, allocations: 156.3 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.3307, allocations: 93.86 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3307, allocations: 29.7 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.3307, allocations: 84.08 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.3307, allocations: 4 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3308, allocations: 9.719 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3309, allocations: 314.8 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.3309, allocations: 4 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.3309, allocations: 25.7 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.331, allocations: 79.27 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.331, allocations: 75.28 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.51e-05/0.3311, allocations: 29.7 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.3311, allocations: 83.22 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/0.3312, allocations: 83.3 kB / 0.5687 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.488e-05/0.3312, allocations: 158.6 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.3313, allocations: 83.22 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.967e-05/0.3313, allocations: 150.6 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.3314, allocations: 83.27 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3315, allocations: 79.22 kB / 0.5693 GB, free: 11.09 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.0001383/0.3316, allocations: 260.4 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.3317, allocations: 104.9 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.3317, allocations: 115.7 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.174e-05/0.3318, allocations: 180.3 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-05/0.3319, allocations: 184.2 kB / 0.5701 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/0.332, allocations: 184.2 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.3322, allocations: 372.3 kB / 0.5706 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.805e-05/0.3323, allocations: 108.9 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.3323, allocations: 105 kB / 0.5708 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.668e-05/0.3324, allocations: 188.2 kB / 0.571 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.3325, allocations: 180.2 kB / 0.5711 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.251e-05/0.3326, allocations: 176.3 kB / 0.5713 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.159e-05/0.3327, allocations: 184.2 kB / 0.5715 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3328, allocations: 303.8 kB / 0.5718 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.3329, allocations: 108.9 kB / 0.5719 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.333, allocations: 180.3 kB / 0.5721 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.3331, allocations: 112.9 kB / 0.5722 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.3332, allocations: 184.2 kB / 0.5723 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.3332, allocations: 101 kB / 0.5724 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.3332, allocations: 79.22 kB / 0.5725 GB, free: 7.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3332, allocations: 3.938 kB / 0.5725 GB, free: 7.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006342/0.3339, allocations: 147.6 kB / 0.5727 GB, free: 7.398 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.001109/0.335, allocations: 0.9804 MB / 0.5736 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.991e-05/0.335, allocations: 4 kB / 0.5736 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.335, allocations: 4 kB / 0.5736 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.335, allocations: 3.938 kB / 0.5736 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3354, allocations: 460.5 kB / 0.5741 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.3359, allocations: 222.1 kB / 0.5743 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.3359, allocations: 59.3 kB / 0.5743 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.388e-06/0.3359, allocations: 4 kB / 0.5743 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.3359, allocations: 8.5 kB / 0.5743 GB, free: 5.582 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3359, allocations: 0 / 0.5743 GB, free: 5.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.3687, allocations: 4.937 MB / 0.5792 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.77, allocations: 7.922 kB / 0.5792 GB, free: 0.7344 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.792666601017118] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.871473999985028 11.888104828 11.555990536 Calling exit ...