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.001645/0.001645, allocations: 116.4 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.002/0.002, allocations: 215.1 kB / 23.75 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.426/1.426, 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.2225/0.2225, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.002444/0.002444, allocations: 79.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3066, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001556/0.3082, allocations: 497 kB / 0.5612 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.3113, allocations: 2.176 MB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.3113, allocations: 0 / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.3113, allocations: 0 / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.3113, allocations: 3.938 kB / 0.5633 GB, free: 1.617 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.002014/0.3133, allocations: 0.7682 MB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.3134, allocations: 7.938 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.3134, allocations: 4 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.3134, allocations: 0 / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.334e-05/0.3134, allocations: 0 / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.3134, allocations: 0 / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.3157, allocations: 1.704 MB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-06/0.3157, allocations: 0 / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.3158, allocations: 4 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3174, allocations: 1.573 MB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3174, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3174, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3174, allocations: 0 / 0.5673 GB, free: 13.56 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.0005575/0.318, allocations: 339.4 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.318, allocations: 12.03 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.3181, allocations: 30.75 kB / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.3181, allocations: 0.9375 kB / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.3182, allocations: 110.5 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3182, allocations: 4.375 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.3182, allocations: 4.375 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.3183, allocations: 33.81 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3183, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3183, allocations: 4 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3183, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.3183, allocations: 0 / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.3184, allocations: 116.7 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.3185, allocations: 30.55 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.3185, allocations: 8.844 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.3185, allocations: 0 / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.3186, allocations: 64.27 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3186, allocations: 0 / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.3187, allocations: 59.36 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3188, allocations: 81.11 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.3188, allocations: 101.8 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3189, allocations: 29.83 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3189, allocations: 80.14 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.3189, allocations: 0 / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3189, allocations: 13.72 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3191, allocations: 310.8 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.3191, allocations: 0 / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.3191, allocations: 0 / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.3192, allocations: 68.33 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3192, allocations: 0 / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.76e-05/0.3192, allocations: 67.33 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.3193, allocations: 35.83 kB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.3193, allocations: 0 / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3193, allocations: 0 / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3193, allocations: 7.938 kB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.3193, allocations: 0 / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.3193, allocations: 0 / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3193, allocations: 0 / 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 0.0001002/0.3194, allocations: 144.9 kB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-06/0.3194, allocations: 3.938 kB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-06/0.3194, allocations: 3 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3194, allocations: 0 / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3194, allocations: 0 / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3194, allocations: 0 / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.3195, allocations: 120.8 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3195, allocations: 3.984 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.3195, allocations: 0 / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3195, allocations: 3.938 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3195, allocations: 15.92 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3195, allocations: 0 / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3195, allocations: 4 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.3196, allocations: 86.83 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.3197, allocations: 7.875 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3197, allocations: 4 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.3197, allocations: 0 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3197, allocations: 8.016 kB / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3197, allocations: 0 / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.3197, allocations: 75.28 kB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3197, allocations: 0 / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007366/0.3205, allocations: 283.5 kB / 0.5695 GB, free: 10.91 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.001567/0.322, allocations: 0.928 MB / 0.5705 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3221, allocations: 63.33 kB / 0.5705 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3221, allocations: 0 / 0.5705 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.3222, allocations: 55.41 kB / 0.5706 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.3223, allocations: 0 / 0.5706 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.3227, allocations: 166.2 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.323, allocations: 0.669 MB / 0.5714 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.819e-06/0.323, allocations: 128 / 0.5714 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.3231, allocations: 15.44 kB / 0.5714 GB, free: 8.898 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3231, allocations: 0 / 0.5714 GB, free: 8.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.3586, allocations: 8.349 MB / 0.5795 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.83, allocations: 7.484 kB / 0.5796 GB, free: 0.6328 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.652067241957411] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.94055866310373 11.960372348 11.639460441 Calling exit ...