Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001967/0.001967, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.92 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.341, allocations: 65.47 MB / 0.5569 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001781/0.3427, allocations: 0.4944 MB / 0.5574 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.3459, allocations: 1.95 MB / 0.5593 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-06/0.3459, allocations: 0 / 0.5593 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.013e-06/0.3459, allocations: 0 / 0.5593 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.3459, allocations: 4 kB / 0.5593 GB, free: 5.09 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001805/0.3477, allocations: 0.5609 MB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.68e-05/0.3477, allocations: 4 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.412e-05/0.3477, allocations: 0 / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-06/0.3477, allocations: 3.984 kB / 0.5599 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-06/0.3478, allocations: 0 / 0.5599 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-06/0.3478, allocations: 0 / 0.5599 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3492, allocations: 0.8537 MB / 0.5607 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-06/0.3492, allocations: 4 kB / 0.5607 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.3492, allocations: 0 / 0.5607 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.3504, allocations: 0.7695 MB / 0.5615 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3504, allocations: 4 kB / 0.5615 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3504, allocations: 0 / 0.5615 GB, free: 2.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3504, allocations: 0 / 0.5615 GB, free: 2.891 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.0004221/0.3508, allocations: 301.7 kB / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3508, allocations: 12.03 kB / 0.5618 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.3509, allocations: 106 kB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.351, allocations: 76.22 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3511, allocations: 185.8 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.3512, allocations: 158.9 kB / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.3512, allocations: 150.9 kB / 0.5624 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.3513, allocations: 109 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.3513, allocations: 75.28 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.3514, allocations: 150.6 kB / 0.5628 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/0.3515, allocations: 154.6 kB / 0.5629 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.3516, allocations: 150.6 kB / 0.563 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.3519, allocations: 413 kB / 0.5634 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.352, allocations: 173.1 kB / 0.5636 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.352, allocations: 80.14 kB / 0.5637 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.3521, allocations: 83.31 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/0.3521, allocations: 121.7 kB / 0.5639 GB, free: 308 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3521, allocations: 0 / 0.5639 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.077e-05/0.3522, allocations: 29.7 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3523, allocations: 152.4 kB / 0.564 GB, free: 100 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.3523, allocations: 89.86 kB / 0.5641 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3524, allocations: 25.7 kB / 0.5642 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.3524, allocations: 88.08 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3524, allocations: 0 / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.3524, allocations: 13.66 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3526, allocations: 310.8 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.3526, allocations: 4 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.3526, allocations: 29.7 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.3527, allocations: 83.27 kB / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.3527, allocations: 75.28 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.356e-05/0.3528, allocations: 29.7 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3528, allocations: 83.22 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/0.3528, allocations: 83.3 kB / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.911e-05/0.3529, allocations: 162.6 kB / 0.5651 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.353, allocations: 75.28 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-05/0.353, allocations: 154.5 kB / 0.5653 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.3531, allocations: 83.31 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.3532, allocations: 83.2 kB / 0.5655 GB, free: 14.6 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.0001382/0.3533, allocations: 260.4 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3534, allocations: 108.9 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.3534, allocations: 107.8 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-05/0.3535, allocations: 180.2 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.843e-05/0.3536, allocations: 184.2 kB / 0.5663 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/0.3537, allocations: 180.2 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3539, allocations: 372.3 kB / 0.5668 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/0.354, allocations: 105 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.354, allocations: 112.9 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.3541, allocations: 184.2 kB / 0.5672 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/0.3542, allocations: 180.2 kB / 0.5673 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.3543, allocations: 176.3 kB / 0.5675 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-05/0.3543, allocations: 188.2 kB / 0.5677 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.3545, allocations: 299.8 kB / 0.568 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.3546, allocations: 116.8 kB / 0.5681 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.3546, allocations: 180.3 kB / 0.5683 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.3547, allocations: 104.9 kB / 0.5684 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.3548, allocations: 180.2 kB / 0.5685 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.3549, allocations: 105 kB / 0.5686 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.3549, allocations: 79.28 kB / 0.5687 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 0.5687 GB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006337/0.3555, allocations: 147.6 kB / 0.5688 GB, free: 10.93 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.001159/0.3567, allocations: 0.9912 MB / 0.5698 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.082e-05/0.3567, allocations: 0 / 0.5698 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3567, allocations: 4 kB / 0.5698 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3567, allocations: 0 / 0.5698 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3571, allocations: 463.6 kB / 0.5703 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3576, allocations: 222 kB / 0.5705 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.3576, allocations: 51.36 kB / 0.5705 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.056e-06/0.3576, allocations: 4 kB / 0.5705 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.3577, allocations: 7.438 kB / 0.5705 GB, free: 9.117 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3577, allocations: 4 kB / 0.5705 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.3927, allocations: 4.836 MB / 0.5753 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 9.438 kB / 0.5753 GB, free: 4.402 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.514484893996269] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.71224929811433 11.740799165 11.38524173 Calling exit ...