Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001742/0.001742, allocations: 120.8 kB / 20.33 MB, free: 1.543 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.002233/0.002233, allocations: 218.9 kB / 23.61 MB, free: 4.93 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.496/1.496, allocations: 230.5 MB / 257.3 MB, free: 8.023 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.2301/0.2301, allocations: 44.92 MB / 358.6 MB, free: 6.305 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.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",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.002295/0.002295, allocations: 71.88 kB / 0.4927 GB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 65.47 MB / 0.5566 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001629/0.3426, allocations: 488.8 kB / 0.5571 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3447, allocations: 1.557 MB / 0.5586 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.3447, allocations: 0 / 0.5586 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.3448, allocations: 0 / 0.5586 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.3448, allocations: 3.938 kB / 0.5586 GB, free: 5.723 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009598/0.3457, allocations: 291.2 kB / 0.5589 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.3458, allocations: 4 kB / 0.5589 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.3458, allocations: 4 kB / 0.5589 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.3458, allocations: 4 kB / 0.5589 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.3458, allocations: 0 / 0.5589 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-06/0.3458, allocations: 0 / 0.5589 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3466, allocations: 435 kB / 0.5593 GB, free: 5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.3466, allocations: 4 kB / 0.5593 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.3466, allocations: 0 / 0.5593 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.3471, allocations: 305 kB / 0.5596 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3471, allocations: 0 / 0.5596 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3471, allocations: 0 / 0.5596 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3471, allocations: 0 / 0.5596 GB, free: 4.699 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.000355/0.3474, allocations: 299.7 kB / 0.5599 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3475, allocations: 12.03 kB / 0.5599 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.3475, allocations: 30.75 kB / 0.5599 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.3475, allocations: 4.938 kB / 0.5599 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.3476, allocations: 106.5 kB / 0.56 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3476, allocations: 8.375 kB / 0.5601 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3476, allocations: 4.375 kB / 0.5601 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.432e-05/0.3477, allocations: 63.47 kB / 0.5601 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3477, allocations: 0 / 0.5601 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.3478, allocations: 0 / 0.5601 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.3478, allocations: 0 / 0.5601 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.3478, allocations: 29.69 kB / 0.5602 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.3479, allocations: 120.8 kB / 0.5603 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.348, allocations: 44.22 kB / 0.5603 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.348, allocations: 34.66 kB / 0.5603 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.348, allocations: 4 kB / 0.5603 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.3481, allocations: 64.19 kB / 0.5604 GB, free: 3.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3481, allocations: 0 / 0.5604 GB, free: 3.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.3482, allocations: 114.8 kB / 0.5605 GB, free: 3.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.3483, allocations: 81.11 kB / 0.5606 GB, free: 3.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.3484, allocations: 97.75 kB / 0.5607 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3484, allocations: 29.69 kB / 0.5607 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3485, allocations: 80.14 kB / 0.5608 GB, free: 3.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3485, allocations: 0 / 0.5608 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3485, allocations: 17.66 kB / 0.5608 GB, free: 3.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3487, allocations: 315 kB / 0.5611 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.3487, allocations: 29.7 kB / 0.5611 GB, free: 2.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.3487, allocations: 29.7 kB / 0.5612 GB, free: 2.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.3488, allocations: 60.27 kB / 0.5612 GB, free: 2.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3488, allocations: 0 / 0.5612 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.29e-05/0.3489, allocations: 93.09 kB / 0.5613 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.3489, allocations: 33.64 kB / 0.5613 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.349, allocations: 0 / 0.5613 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.349, allocations: 0 / 0.5613 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.349, allocations: 0 / 0.5613 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.349, allocations: 4.094 kB / 0.5613 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.349, allocations: 7.938 kB / 0.5614 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.349, allocations: 0 / 0.5614 GB, free: 2.621 MB / 398.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.689e-05/0.3491, allocations: 139.5 kB / 0.5615 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.3491, allocations: 7.938 kB / 0.5615 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-06/0.3491, allocations: 3 kB / 0.5615 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3491, allocations: 3.984 kB / 0.5615 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3491, allocations: 0 / 0.5615 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3491, allocations: 0 / 0.5615 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.3492, allocations: 128.7 kB / 0.5616 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3492, allocations: 4 kB / 0.5616 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3492, allocations: 0 / 0.5616 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3492, allocations: 3.938 kB / 0.5616 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3492, allocations: 0 / 0.5616 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3492, allocations: 3.938 kB / 0.5616 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3492, allocations: 0 / 0.5616 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3494, allocations: 116.5 kB / 0.5617 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.3494, allocations: 7.938 kB / 0.5618 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3494, allocations: 4 kB / 0.5618 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.3494, allocations: 0 / 0.5618 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.3494, allocations: 7.969 kB / 0.5618 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3494, allocations: 7.938 kB / 0.5618 GB, free: 2.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.3494, allocations: 75.28 kB / 0.5618 GB, free: 2.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3494, allocations: 0 / 0.5618 GB, free: 2.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.3498, allocations: 63.8 kB / 0.5619 GB, free: 1.965 MB / 398.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.0007796/0.3505, allocations: 0.7413 MB / 0.5626 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3507, allocations: 118.8 kB / 0.5627 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3507, allocations: 0 / 0.5627 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.3507, allocations: 85.05 kB / 0.5628 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3508, allocations: 128 / 0.5628 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.3512, allocations: 156.2 kB / 0.563 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.364e-05/0.3512, allocations: 59.34 kB / 0.563 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.259e-06/0.3512, allocations: 0 / 0.563 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.3512, allocations: 7.438 kB / 0.563 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3512, allocations: 4 kB / 0.563 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3796, allocations: 2.227 MB / 0.5652 GB, free: 14.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.26, allocations: 11.98 kB / 0.5652 GB, free: 14.55 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.290327160037123] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.364248173020314 11.379541892 11.029177626 Calling exit ...