Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001788/0.001788, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001477/0.001477, allocations: 217 kB / 23.75 MB, free: 4.668 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 46.95 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3407, allocations: 66.03 MB / 0.5606 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001583/0.3423, allocations: 491.8 kB / 0.5611 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.3453, allocations: 2.08 MB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-06/0.3453, allocations: 4 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.048e-06/0.3453, allocations: 0 / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.91e-07/0.3453, allocations: 0 / 0.5631 GB, free: 1.883 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.001705/0.347, allocations: 0.5527 MB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.981e-05/0.347, allocations: 4 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.668e-05/0.347, allocations: 4 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.3471, allocations: 3.984 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-06/0.3471, allocations: 0 / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-06/0.3471, allocations: 0 / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.3487, allocations: 1.13 MB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.3487, allocations: 11.92 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.3487, allocations: 0 / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.3498, allocations: 0.8358 MB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3498, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3498, allocations: 4 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3498, allocations: 0 / 0.5656 GB, free: 15.34 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.0003785/0.3501, allocations: 305.7 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3502, allocations: 12.02 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.3503, allocations: 106 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.3503, allocations: 76.22 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3504, allocations: 181.8 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/0.3505, allocations: 154.9 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.3506, allocations: 154.9 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.3507, allocations: 105.1 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.3507, allocations: 79.28 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.3508, allocations: 150.6 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.3509, allocations: 150.6 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.3509, allocations: 154.6 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.3512, allocations: 417 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3513, allocations: 173.1 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.3514, allocations: 84.08 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.3514, allocations: 79.28 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/0.3515, allocations: 117.8 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3515, allocations: 0 / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.225e-05/0.3515, allocations: 25.7 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.3516, allocations: 156.3 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.3517, allocations: 89.86 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3517, allocations: 25.7 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.3518, allocations: 88.14 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3518, allocations: 0 / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.3518, allocations: 13.72 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3519, allocations: 314.8 kB / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.3519, allocations: 0 / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.3519, allocations: 0 / 0.5687 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.352, allocations: 75.28 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/0.352, allocations: 75.28 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.61e-05/0.3521, allocations: 37.73 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.3521, allocations: 83.22 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/0.3522, allocations: 87.3 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.905e-05/0.3522, allocations: 150.6 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.3523, allocations: 79.22 kB / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.363e-05/0.3523, allocations: 158.5 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.3524, allocations: 91.2 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3525, allocations: 79.22 kB / 0.5696 GB, free: 11.08 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.0001362/0.3526, allocations: 260.3 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.3527, allocations: 108.9 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.3527, allocations: 111.7 kB / 0.57 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-05/0.3528, allocations: 184.2 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.392e-05/0.3529, allocations: 180.3 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.331e-05/0.353, allocations: 184.2 kB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3532, allocations: 364.3 kB / 0.5709 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-05/0.3533, allocations: 116.9 kB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.3533, allocations: 101 kB / 0.5711 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-05/0.3534, allocations: 188.2 kB / 0.5713 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.511e-05/0.3535, allocations: 180.2 kB / 0.5715 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.345e-05/0.3536, allocations: 176.3 kB / 0.5716 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.537e-05/0.3537, allocations: 184.1 kB / 0.5718 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.3538, allocations: 311.8 kB / 0.5721 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.3539, allocations: 108.9 kB / 0.5722 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.354, allocations: 176.3 kB / 0.5724 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.3541, allocations: 108.9 kB / 0.5725 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.3542, allocations: 184.3 kB / 0.5726 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.3542, allocations: 104.9 kB / 0.5727 GB, free: 7.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.3543, allocations: 79.28 kB / 0.5728 GB, free: 7.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3543, allocations: 0 / 0.5728 GB, free: 7.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005827/0.3548, allocations: 151.6 kB / 0.573 GB, free: 7.391 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.001024/0.3559, allocations: 0.9665 MB / 0.5739 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.527e-05/0.3559, allocations: 4 kB / 0.5739 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3559, allocations: 0 / 0.5739 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3559, allocations: 4.422 kB / 0.5739 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3563, allocations: 459.7 kB / 0.5744 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.3567, allocations: 221.6 kB / 0.5746 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.357, allocations: 0.669 MB / 0.5752 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.645e-06/0.357, allocations: 0 / 0.5752 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.357, allocations: 11.44 kB / 0.5752 GB, free: 4.977 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.357, allocations: 0 / 0.5752 GB, free: 4.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.3875, allocations: 4.437 MB / 0.5796 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 3.125 kB / 0.5796 GB, free: 0.6719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.543332396999176] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.644583268003771 11.659190009 11.306399643 Calling exit ...