Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001662/0.001662, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2377/0.2377, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001713/0.3335, allocations: 0.4921 MB / 0.5611 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3357, allocations: 1.54 MB / 0.5626 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.3357, allocations: 0 / 0.5626 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.3357, allocations: 0 / 0.5626 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.3357, allocations: 0 / 0.5626 GB, free: 2.199 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.3367, allocations: 295.1 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.3367, allocations: 8 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.3368, allocations: 8 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.3368, allocations: 3.984 kB / 0.5629 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.757e-05/0.3368, allocations: 0 / 0.5629 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.3368, allocations: 0 / 0.5629 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.3375, allocations: 423 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.3375, allocations: 0 / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.3375, allocations: 7.938 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.3379, allocations: 305.1 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3379, allocations: 3.984 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3379, allocations: 0 / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3379, allocations: 0 / 0.5636 GB, free: 1.168 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004034/0.3383, allocations: 299.7 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3384, allocations: 8.031 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.3384, allocations: 34.75 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.3384, allocations: 0.9375 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.3385, allocations: 110.5 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3385, allocations: 384 / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3385, allocations: 4.312 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3386, allocations: 67.52 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.3386, allocations: 0 / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.3387, allocations: 0 / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3387, allocations: 0 / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.3387, allocations: 29.7 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.3388, allocations: 116.8 kB / 0.5642 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.3389, allocations: 48.31 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.3389, allocations: 38.48 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.3389, allocations: 0 / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.339, allocations: 64.27 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.339, allocations: 0 / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.3391, allocations: 118.8 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3392, allocations: 77.11 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.3393, allocations: 93.81 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3393, allocations: 25.7 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.3393, allocations: 84.27 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3393, allocations: 4 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.3393, allocations: 9.719 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3395, allocations: 310.8 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.3395, allocations: 37.64 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.3395, allocations: 25.7 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.3396, allocations: 64.25 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3396, allocations: 0 / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.281e-05/0.3397, allocations: 85.11 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.3397, allocations: 41.73 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3397, allocations: 7.922 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.3397, allocations: 0 / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3397, allocations: 4 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3397, allocations: 0 / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.3397, allocations: 0 / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3398, allocations: 7.938 kB / 0.5653 GB, free: 15.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.712e-05/0.3399, allocations: 139.5 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.3399, allocations: 7.922 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.3399, allocations: 3 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3399, allocations: 4 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3399, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3399, allocations: 0 / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.34, allocations: 120.8 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.34, allocations: 0 / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.34, allocations: 0 / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.34, allocations: 3.938 kB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.34, allocations: 0 / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.34, allocations: 4 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.34, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3401, allocations: 120.5 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.3401, allocations: 7.969 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.3401, allocations: 0 / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.3402, allocations: 0 / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.3402, allocations: 4 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3402, allocations: 3.984 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.3402, allocations: 79.22 kB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3402, allocations: 0 / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3405, allocations: 59.81 kB / 0.5658 GB, free: 14.45 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000744/0.3412, allocations: 0.7463 MB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3414, allocations: 114.8 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3414, allocations: 3.938 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.3415, allocations: 85.05 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.3416, allocations: 11.94 kB / 0.5668 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3419, allocations: 156.2 kB / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.3419, allocations: 51.36 kB / 0.567 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.775e-06/0.342, allocations: 4 kB / 0.567 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.342, allocations: 7.438 kB / 0.567 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.342, allocations: 0 / 0.567 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.3718, allocations: 2.642 MB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.1, allocations: 6.953 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.014302511699498] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 12.210218003951013 12.232078211 11.890788492 Calling exit ...