Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001285/0.001285, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.001393/0.001393, allocations: 212.5 kB / 23.48 MB, free: 5.227 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.387/1.387, allocations: 230.2 MB / 256.8 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2279/0.2279, allocations: 46.88 MB / 360 MB, free: 4.723 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 83.84 kB / 0.4951 GB, free: 8.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3231, allocations: 66 MB / 0.5595 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001617/0.3247, allocations: 484.1 kB / 0.56 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3269, allocations: 1.583 MB / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.327, allocations: 0 / 0.5615 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.327, allocations: 3.938 kB / 0.5615 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.327, allocations: 4 kB / 0.5615 GB, free: 2.918 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0009069/0.3279, allocations: 231.4 kB / 0.5618 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.3279, allocations: 4 kB / 0.5618 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.328, allocations: 0 / 0.5618 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.328, allocations: 0 / 0.5618 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.741e-05/0.328, allocations: 4 kB / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.328, allocations: 0 / 0.5618 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.329, allocations: 0.7415 MB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.329, allocations: 0 / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.329, allocations: 3.984 kB / 0.5625 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.3298, allocations: 0.6491 MB / 0.5631 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3298, allocations: 0 / 0.5631 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3298, allocations: 0 / 0.5631 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3298, allocations: 4 kB / 0.5631 GB, free: 1.285 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.0004706/0.3303, allocations: 372.9 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3303, allocations: 8.031 kB / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3303, allocations: 34.75 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.3304, allocations: 0.9375 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3305, allocations: 164.4 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3305, allocations: 384 / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.3305, allocations: 4.375 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3306, allocations: 37.77 kB / 0.5637 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3306, allocations: 0 / 0.5637 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.3306, allocations: 0 / 0.5637 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3306, allocations: 4 kB / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.539e-05/0.3306, allocations: 0 / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.3308, allocations: 149.7 kB / 0.5639 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.3308, allocations: 18.61 kB / 0.5639 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.3308, allocations: 4.859 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.3308, allocations: 7.938 kB / 0.5639 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.3309, allocations: 60.2 kB / 0.564 GB, free: 260 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3309, allocations: 0 / 0.564 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001802/0.3311, allocations: 67.39 kB / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3311, allocations: 81.11 kB / 0.5641 GB, free: 80 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.3312, allocations: 97.81 kB / 0.5642 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3312, allocations: 25.7 kB / 0.5642 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.3312, allocations: 80.27 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3313, allocations: 4 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.3313, allocations: 9.719 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3314, allocations: 314.8 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.3314, allocations: 0 / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.3315, allocations: 3.938 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.3315, allocations: 68.25 kB / 0.5647 GB, free: 15.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3315, allocations: 0 / 0.5647 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.91e-05/0.3316, allocations: 67.41 kB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.3316, allocations: 33.64 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3316, allocations: 0 / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3316, allocations: 0 / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3316, allocations: 0 / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3316, allocations: 0 / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.3317, allocations: 7.984 kB / 0.5648 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3317, allocations: 0 / 0.5648 GB, free: 15.31 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.836e-05/0.3318, allocations: 135.5 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.3318, allocations: 11.97 kB / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.759e-06/0.3318, allocations: 7.062 kB / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3318, allocations: 0 / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3318, allocations: 0 / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3318, allocations: 0 / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3319, allocations: 145.7 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3319, allocations: 4 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.3319, allocations: 0 / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3319, allocations: 3.938 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.3319, allocations: 0 / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3319, allocations: 4 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3319, allocations: 4 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.332, allocations: 90.83 kB / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.3321, allocations: 85.03 kB / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3321, allocations: 0 / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-06/0.3321, allocations: 0 / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.3321, allocations: 4 kB / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3321, allocations: 0 / 0.5652 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.3321, allocations: 80.33 kB / 0.5653 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3321, allocations: 0 / 0.5653 GB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.3325, allocations: 127.8 kB / 0.5654 GB, free: 14.52 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.00102/0.3336, allocations: 0.7088 MB / 0.5661 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3337, allocations: 63.39 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3337, allocations: 4 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.3337, allocations: 55.34 kB / 0.5663 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3338, allocations: 11.22 kB / 0.5663 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3342, allocations: 130.6 kB / 0.5664 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3345, allocations: 0.669 MB / 0.567 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.3345, allocations: 0 / 0.567 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.3346, allocations: 7.438 kB / 0.5671 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3346, allocations: 0 / 0.5671 GB, free: 12.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.361, allocations: 4.72 MB / 0.5717 GB, free: 8.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.52, allocations: 12.86 kB / 0.5717 GB, free: 8.07 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.153317203978077] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.58823284204118 8.602873788 8.270180226 Calling exit ...