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.001257/0.001257, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001433/0.001433, allocations: 211 kB / 23.73 MB, free: 4.523 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2425/0.2425, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.001956/0.001956, allocations: 67.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3244, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001549/0.3259, allocations: 0.4893 MB / 0.561 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3281, allocations: 1.558 MB / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.3281, allocations: 0 / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.3281, allocations: 0 / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.3281, allocations: 0 / 0.5626 GB, free: 2.172 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.001015/0.3291, allocations: 291.2 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.3292, allocations: 12 kB / 0.5629 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.3292, allocations: 4 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.3293, allocations: 0 / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.3293, allocations: 0 / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.3293, allocations: 0 / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.33, allocations: 435 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.33, allocations: 7.984 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.33, allocations: 0 / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.3305, allocations: 305 kB / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3305, allocations: 0 / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3305, allocations: 0 / 0.5636 GB, free: 1.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3305, allocations: 0 / 0.5636 GB, free: 1.141 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.0003844/0.3309, allocations: 303.7 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3309, allocations: 8.031 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.331, allocations: 34.75 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.331, allocations: 0.9375 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3312, allocations: 102.5 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3312, allocations: 4.375 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.3312, allocations: 384 / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3313, allocations: 63.52 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.3313, allocations: 33.64 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.3315, allocations: 116.8 kB / 0.5642 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/0.3315, allocations: 44.31 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.3316, allocations: 34.55 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3316, allocations: 12 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.3316, allocations: 64.2 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3316, allocations: 0 / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001939/0.3318, allocations: 114.8 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.3319, allocations: 81.16 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.332, allocations: 93.81 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.332, allocations: 29.7 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.332, allocations: 84.08 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.332, allocations: 3.938 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.3321, allocations: 9.719 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3322, allocations: 319 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.3322, allocations: 25.7 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.3322, allocations: 25.7 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.3323, allocations: 68.25 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3323, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.29e-05/0.3324, allocations: 89.05 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.3324, allocations: 37.64 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3324, allocations: 0 / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3324, allocations: 0 / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3324, allocations: 4.094 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3324, allocations: 7.984 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.3325, allocations: 0 / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3325, allocations: 0 / 0.5653 GB, free: 15.07 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.022e-05/0.3325, allocations: 139.5 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3326, allocations: 3.938 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.818e-06/0.3326, allocations: 3 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3326, allocations: 4 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3326, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3326, allocations: 0 / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/0.3327, allocations: 120.8 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3327, allocations: 3.984 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3327, allocations: 0 / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3327, allocations: 7.938 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.3327, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3327, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3327, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3328, allocations: 120.5 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.3328, allocations: 3.938 kB / 0.5657 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3328, allocations: 4 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.3328, allocations: 0 / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.3328, allocations: 4.031 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3328, allocations: 0 / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.3329, allocations: 79.22 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3329, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3332, allocations: 71.73 kB / 0.5658 GB, free: 14.42 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.0007634/0.3339, allocations: 0.7465 MB / 0.5666 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3341, allocations: 122.8 kB / 0.5667 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3341, allocations: 0 / 0.5667 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.3341, allocations: 81.11 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.3343, allocations: 4.125 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.3348, allocations: 156.2 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.3349, allocations: 55.36 kB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.609e-06/0.3349, allocations: 0 / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.3349, allocations: 7.438 kB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3349, allocations: 0 / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3629, allocations: 2.673 MB / 0.5696 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11, allocations: 8 kB / 0.5696 GB, free: 10.57 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.839269841992063] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.10536332000629 11.135193681 10.799731068 Calling exit ...