Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.001312/0.001312, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001406/0.001406, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2231/0.2231, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",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.002981/0.002981, allocations: 79.83 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3522, allocations: 65.46 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001947/0.3541, allocations: 497.1 kB / 0.5575 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3566, allocations: 1.585 MB / 0.559 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.3567, allocations: 0 / 0.559 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.3567, allocations: 3.938 kB / 0.559 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.3567, allocations: 0 / 0.559 GB, free: 5.719 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3578, allocations: 251.4 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.3579, allocations: 4 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.3579, allocations: 3.984 kB / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.3579, allocations: 0 / 0.5593 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.544e-05/0.3579, allocations: 4 kB / 0.5593 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-06/0.358, allocations: 0 / 0.5593 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3591, allocations: 0.8039 MB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.3591, allocations: 3.984 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.3591, allocations: 0 / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.3599, allocations: 0.6607 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3599, allocations: 4 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3599, allocations: 0 / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3599, allocations: 0 / 0.5607 GB, free: 3.988 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.0004242/0.3603, allocations: 291.9 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3604, allocations: 12.03 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.3604, allocations: 30.75 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.3604, allocations: 4.922 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.3605, allocations: 106.5 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3605, allocations: 384 / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3605, allocations: 4.375 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.394e-05/0.3606, allocations: 33.81 kB / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3606, allocations: 0 / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.3606, allocations: 0 / 0.5612 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3606, allocations: 4 kB / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.3607, allocations: 7.938 kB / 0.5612 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.3608, allocations: 116.8 kB / 0.5613 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.3608, allocations: 22.61 kB / 0.5613 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.3609, allocations: 4.859 kB / 0.5613 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.3609, allocations: 0 / 0.5613 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.3609, allocations: 64.2 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.3609, allocations: 0 / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.3611, allocations: 67.39 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3612, allocations: 77.11 kB / 0.5615 GB, free: 2.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.3612, allocations: 101.8 kB / 0.5616 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3612, allocations: 25.7 kB / 0.5617 GB, free: 2.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.3613, allocations: 80.14 kB / 0.5617 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3613, allocations: 3.938 kB / 0.5617 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.3613, allocations: 9.844 kB / 0.5617 GB, free: 2.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3615, allocations: 318.8 kB / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.3615, allocations: 0 / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-06/0.3615, allocations: 0 / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.3615, allocations: 68.25 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3615, allocations: 0 / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.324e-05/0.3616, allocations: 63.34 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.3616, allocations: 33.64 kB / 0.5622 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3617, allocations: 96 / 0.5622 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3617, allocations: 4 kB / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3617, allocations: 0 / 0.5622 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3617, allocations: 7.969 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.3617, allocations: 8 kB / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3617, allocations: 0 / 0.5622 GB, free: 2.207 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.379e-05/0.3618, allocations: 135.5 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.3618, allocations: 7.938 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.3618, allocations: 3 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3618, allocations: 4 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3618, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3618, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3619, allocations: 128.7 kB / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3619, allocations: 0 / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3619, allocations: 0 / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3619, allocations: 3.938 kB / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3619, allocations: 0 / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.3619, allocations: 0 / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3619, allocations: 0 / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.3621, allocations: 98.77 kB / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.3621, allocations: 3.938 kB / 0.5626 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3621, allocations: 4 kB / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.3621, allocations: 0 / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.3621, allocations: 0 / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3621, allocations: 0 / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.3621, allocations: 76.3 kB / 0.5627 GB, free: 1.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3621, allocations: 0 / 0.5627 GB, free: 1.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.3625, allocations: 127.8 kB / 0.5628 GB, free: 1.543 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.001026/0.3636, allocations: 0.7023 MB / 0.5635 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3637, allocations: 67.39 kB / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3637, allocations: 0 / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.3637, allocations: 51.41 kB / 0.5636 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.3638, allocations: 4 kB / 0.5636 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.3642, allocations: 130.6 kB / 0.5637 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3645, allocations: 0.669 MB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.438e-06/0.3645, allocations: 0 / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.3646, allocations: 7.438 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3646, allocations: 0 / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3969, allocations: 4.873 MB / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.29, allocations: 2.578 kB / 0.5691 GB, free: 11.05 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_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_TestMatrices3.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.257992148995982] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.390668214997277 11.414296415 11.049298587 Calling exit ...