Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001404/0.001404, allocations: 114 kB / 20.43 MB, free: 1.457 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.001508/0.001508, allocations: 214 kB / 23.74 MB, free: 4.672 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2328/0.2328, allocations: 46.91 MB / 360.8 MB, free: 4.18 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 83.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3248, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001567/0.3264, allocations: 493.1 kB / 0.5612 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3286, allocations: 1.575 MB / 0.5627 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.3287, allocations: 3.938 kB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.3287, allocations: 0 / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.3287, allocations: 0 / 0.5627 GB, free: 2.219 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001027/0.3297, allocations: 262.6 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.685e-05/0.3298, allocations: 4 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.3298, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.3298, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.491e-05/0.3298, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-06/0.3298, allocations: 4 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.331, allocations: 0.8078 MB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.331, allocations: 3.984 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.331, allocations: 0 / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.3318, allocations: 0.653 MB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3318, allocations: 0 / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3318, allocations: 0 / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3318, allocations: 3.938 kB / 0.5644 GB, free: 500 kB / 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.0004181/0.3322, allocations: 291.9 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3322, allocations: 11.97 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.3323, allocations: 38.75 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.3323, allocations: 0.9375 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.3324, allocations: 102.5 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3324, allocations: 384 / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-06/0.3324, allocations: 384 / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.866e-05/0.3325, allocations: 37.81 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3325, allocations: 3.938 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.3325, allocations: 0 / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3325, allocations: 0 / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.3325, allocations: 8 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3327, allocations: 116.8 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.3327, allocations: 18.61 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.3327, allocations: 4.859 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.3327, allocations: 0 / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.3328, allocations: 64.19 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3328, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001779/0.333, allocations: 71.41 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.333, allocations: 77.11 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.3331, allocations: 93.81 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3331, allocations: 25.7 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3331, allocations: 84.14 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.3331, allocations: 3.984 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.3331, allocations: 13.72 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3333, allocations: 311 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.3333, allocations: 12 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.3333, allocations: 0 / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.3334, allocations: 64.2 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3334, allocations: 3.938 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.126e-05/0.3334, allocations: 67.39 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.3335, allocations: 33.64 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3335, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3335, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3335, allocations: 4.094 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3335, allocations: 3.984 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3335, allocations: 4 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3335, allocations: 0 / 0.5659 GB, free: 14.71 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.273e-05/0.3336, allocations: 131.5 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3336, allocations: 11.92 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-06/0.3336, allocations: 3 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.3336, allocations: 0 / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3336, allocations: 0 / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3336, allocations: 7.938 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.3337, allocations: 116.8 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3337, allocations: 4 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3337, allocations: 0 / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3337, allocations: 3.938 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3337, allocations: 7.922 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.3337, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3337, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.3338, allocations: 90.84 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.3338, allocations: 11.92 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.3338, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.3339, allocations: 4 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-06/0.3339, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.3339, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.3339, allocations: 76.3 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3339, allocations: 0 / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.3343, allocations: 119.9 kB / 0.5665 GB, free: 14.05 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.001001/0.3353, allocations: 0.7191 MB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3354, allocations: 55.41 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3354, allocations: 0 / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.3354, allocations: 55.41 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.3355, allocations: 7.938 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.3359, allocations: 126.5 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3362, allocations: 0.6808 MB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.3362, allocations: 0 / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.3363, allocations: 7.438 kB / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3363, allocations: 0 / 0.5681 GB, free: 12.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.3676, allocations: 4.847 MB / 0.5728 GB, free: 7.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 4.062 kB / 0.5728 GB, free: 7.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.321616624947637] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.639459968078882 11.654369716 11.319544784 Calling exit ...