Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 110.4 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 205.4 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.2 MB / 257.7 MB, free: 8.301 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.88 MB / 361 MB, free: 4.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 83.84 kB / 0.4962 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 66.02 MB / 0.5606 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001607/0.3179, allocations: 499.1 kB / 0.5611 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.3211, allocations: 2.18 MB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.3211, allocations: 0 / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.3211, allocations: 0 / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.3211, allocations: 3.938 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3232, allocations: 0.7551 MB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.3232, allocations: 3.984 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.3233, allocations: 0 / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.411e-05/0.3233, allocations: 0 / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.477e-05/0.3233, allocations: 0 / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.3233, allocations: 4 kB / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.3256, allocations: 1.572 MB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-06/0.3256, allocations: 4 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.3256, allocations: 0 / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3273, allocations: 1.557 MB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3273, allocations: 0 / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3273, allocations: 0 / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3273, allocations: 4 kB / 0.567 GB, free: 14.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006097/0.3279, allocations: 416.5 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3279, allocations: 8.031 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.328, allocations: 34.75 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.328, allocations: 4.938 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3281, allocations: 160.4 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3281, allocations: 384 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.3281, allocations: 4.375 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.3282, allocations: 33.81 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3282, allocations: 3.984 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3282, allocations: 0 / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3282, allocations: 4 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.3283, allocations: 3.938 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3284, allocations: 153.6 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/0.3285, allocations: 18.61 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.3285, allocations: 4.859 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.3285, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.3285, allocations: 64.19 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3285, allocations: 0 / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001855/0.3287, allocations: 75.36 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.3288, allocations: 77.11 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.3288, allocations: 89.86 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3289, allocations: 33.64 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3289, allocations: 80.14 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.3289, allocations: 3.984 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.329, allocations: 9.719 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3291, allocations: 318.8 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.3291, allocations: 4.125 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.3291, allocations: 0 / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.3292, allocations: 60.27 kB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3292, allocations: 0 / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.394e-05/0.3293, allocations: 67.33 kB / 0.5687 GB, free: 12.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.3293, allocations: 37.64 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3293, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3293, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3293, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3293, allocations: 4.094 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.3293, allocations: 4 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3294, allocations: 0 / 0.5687 GB, free: 12.12 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.174e-05/0.3294, allocations: 131.5 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.3295, allocations: 11.92 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.031e-05/0.3295, allocations: 3 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3295, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3295, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3295, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3296, allocations: 145.7 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3296, allocations: 4 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3296, allocations: 0 / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3296, allocations: 7.922 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3296, allocations: 3.938 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3296, allocations: 0 / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3296, allocations: 4 kB / 0.569 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.3297, allocations: 90.78 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3298, allocations: 89.06 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3298, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-06/0.3298, allocations: 0 / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.3298, allocations: 8 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.3298, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.3298, allocations: 75.28 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 0 / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008103/0.3307, allocations: 279.5 kB / 0.5696 GB, free: 11.17 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.001573/0.3322, allocations: 0.9401 MB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3323, allocations: 67.39 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3323, allocations: 0 / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.3324, allocations: 51.41 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.3325, allocations: 4 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.3329, allocations: 170.3 kB / 0.5708 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3333, allocations: 0.6729 MB / 0.5714 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.082e-06/0.3333, allocations: 0 / 0.5714 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3333, allocations: 11.38 kB / 0.5714 GB, free: 9.145 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3333, allocations: 0 / 0.5714 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.3665, allocations: 8.232 MB / 0.5795 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.56, allocations: 4.062 kB / 0.5795 GB, free: 0.9609 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.384231604170054] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.63225447293371 8.647042242 8.316825366 Calling exit ...