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.001792/0.001792, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002389/0.002389, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2324/0.2324, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.002276/0.002276, allocations: 83.88 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3194, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001646/0.321, allocations: 489.1 kB / 0.5612 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.3243, allocations: 2.172 MB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.3243, allocations: 3.938 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.3243, allocations: 0 / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.3243, allocations: 0 / 0.5633 GB, free: 1.633 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.002085/0.3264, allocations: 0.7643 MB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.3264, allocations: 7.938 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3265, allocations: 4 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.3265, allocations: 0 / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.469e-05/0.3265, allocations: 0 / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.3265, allocations: 0 / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3288, allocations: 1.704 MB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.3288, allocations: 0 / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.3289, allocations: 8 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3305, allocations: 1.569 MB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3305, allocations: 0 / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3305, allocations: 0 / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3305, allocations: 0 / 0.5673 GB, free: 13.58 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.0005715/0.3311, allocations: 339.4 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3311, allocations: 12.03 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3312, allocations: 30.75 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3312, allocations: 4.922 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.3313, allocations: 114.5 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3313, allocations: 384 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.3313, allocations: 4.375 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.3314, allocations: 33.81 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3314, allocations: 0 / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3314, allocations: 0 / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3314, allocations: 3.938 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.3315, allocations: 4 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.3316, allocations: 116.8 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.3316, allocations: 30.55 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.3317, allocations: 4.859 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.3317, allocations: 0 / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.3317, allocations: 60.2 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3317, allocations: 0 / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.3319, allocations: 67.41 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.332, allocations: 81.23 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.332, allocations: 101.8 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.332, allocations: 25.7 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.3321, allocations: 80.14 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3321, allocations: 0 / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.3321, allocations: 9.719 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3322, allocations: 314.8 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.3322, allocations: 0 / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.3323, allocations: 0 / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.3323, allocations: 72.31 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3323, allocations: 0 / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.157e-05/0.3324, allocations: 67.34 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.3324, allocations: 35.83 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3324, allocations: 0 / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3324, allocations: 0 / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3324, allocations: 3.938 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3325, allocations: 7.984 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.3325, allocations: 0 / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3325, allocations: 4.031 kB / 0.5688 GB, free: 11.74 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.118e-05/0.3326, allocations: 132.9 kB / 0.569 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.3326, allocations: 7.938 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.3326, allocations: 7 kB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3326, allocations: 3.984 kB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3326, allocations: 0 / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3326, allocations: 0 / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3327, allocations: 120.8 kB / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3327, allocations: 0 / 0.5691 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3327, allocations: 7.938 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3327, allocations: 3.938 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3327, allocations: 0 / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3327, allocations: 0 / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3327, allocations: 0 / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.3328, allocations: 90.83 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.3328, allocations: 7.875 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3329, allocations: 4 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-06/0.3329, allocations: 4.031 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.3329, allocations: 0 / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3329, allocations: 0 / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.3329, allocations: 75.28 kB / 0.5693 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3329, allocations: 0 / 0.5693 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000759/0.3337, allocations: 279.5 kB / 0.5695 GB, free: 10.93 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.001603/0.3353, allocations: 0.9451 MB / 0.5705 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.3354, allocations: 59.34 kB / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3354, allocations: 0 / 0.5705 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.3354, allocations: 59.41 kB / 0.5706 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.3355, allocations: 1.125 kB / 0.5706 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.336, allocations: 162.2 kB / 0.5707 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3363, allocations: 0.673 MB / 0.5714 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.103e-06/0.3363, allocations: 3.984 kB / 0.5714 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.3363, allocations: 7.438 kB / 0.5714 GB, free: 8.906 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3363, allocations: 0 / 0.5714 GB, free: 8.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.3717, allocations: 8.346 MB / 0.5795 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 4.062 kB / 0.5796 GB, free: 0.6484 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.441158203000668] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.644571824996092 11.666440365 11.331873242 Calling exit ...