Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.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.001446/0.001446, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001573/0.001573, allocations: 221 kB / 22.92 MB, free: 5.531 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.293/1.293, allocations: 230.2 MB / 256.1 MB, free: 8.734 MB / 206.1 MB " [Timeout remaining time 179] 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.1955/0.1955, allocations: 46.88 MB / 359.3 MB, free: 4.965 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices",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.002136/0.002136, allocations: 83.81 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2522, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001412/0.2536, allocations: 0.4893 MB / 0.5589 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2556, allocations: 1.626 MB / 0.5605 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.2556, allocations: 0 / 0.5605 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2556, allocations: 0 / 0.5605 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.2556, allocations: 0 / 0.5605 GB, free: 3.082 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.2563, allocations: 274.7 kB / 0.5607 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.768e-05/0.2564, allocations: 4 kB / 0.5607 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.2564, allocations: 7.938 kB / 0.5607 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.2564, allocations: 4 kB / 0.5607 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.597e-05/0.2564, allocations: 0 / 0.5607 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-06/0.2564, allocations: 0 / 0.5607 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.2571, allocations: 0.534 MB / 0.5613 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.2571, allocations: 7.984 kB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.2572, allocations: 3.938 kB / 0.5613 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.2575, allocations: 309.1 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2576, allocations: 0 / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2576, allocations: 0 / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2576, allocations: 4 kB / 0.5616 GB, free: 1.949 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.0003386/0.2579, allocations: 376.8 kB / 0.5619 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2579, allocations: 12.03 kB / 0.5619 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.258, allocations: 30.75 kB / 0.562 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.802e-05/0.258, allocations: 0.9375 kB / 0.562 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.2581, allocations: 164.4 kB / 0.5621 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2581, allocations: 384 / 0.5621 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.2581, allocations: 384 / 0.5621 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.2582, allocations: 33.83 kB / 0.5622 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.2582, allocations: 0 / 0.5622 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.2582, allocations: 0 / 0.5622 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.2582, allocations: 0 / 0.5622 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.832e-05/0.2582, allocations: 11.92 kB / 0.5622 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.2583, allocations: 145.7 kB / 0.5623 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.2584, allocations: 18.58 kB / 0.5623 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.2584, allocations: 12.89 kB / 0.5623 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-06/0.2584, allocations: 3.938 kB / 0.5623 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.2584, allocations: 60.2 kB / 0.5624 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.2584, allocations: 0 / 0.5624 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.2586, allocations: 75.31 kB / 0.5625 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2586, allocations: 81.23 kB / 0.5625 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.383e-05/0.2586, allocations: 93.81 kB / 0.5626 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2587, allocations: 25.7 kB / 0.5627 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.2587, allocations: 84.14 kB / 0.5627 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.2587, allocations: 0 / 0.5627 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.2587, allocations: 9.719 kB / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2588, allocations: 314.8 kB / 0.563 GB, free: 184 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.2589, allocations: 4 kB / 0.5631 GB, free: 180 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.2589, allocations: 4 kB / 0.5631 GB, free: 176 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.2589, allocations: 64.27 kB / 0.5631 GB, free: 96 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2589, allocations: 0 / 0.5631 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.458e-05/0.259, allocations: 63.34 kB / 0.5632 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.259, allocations: 37.62 kB / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.259, allocations: 0 / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.259, allocations: 0 / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.259, allocations: 0 / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.259, allocations: 0 / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.2591, allocations: 8.094 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2591, allocations: 0 / 0.5632 GB, free: 15.97 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 7.503e-05/0.2591, allocations: 135.5 kB / 0.5634 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2591, allocations: 7.938 kB / 0.5634 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-06/0.2591, allocations: 3.125 kB / 0.5634 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2592, allocations: 3.984 kB / 0.5634 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.2592, allocations: 0 / 0.5634 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-06/0.2592, allocations: 0 / 0.5634 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.2593, allocations: 145.7 kB / 0.5635 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2593, allocations: 8 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.2593, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2593, allocations: 3.938 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2593, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.2593, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2593, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.27e-05/0.2594, allocations: 102.7 kB / 0.5636 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2594, allocations: 81.05 kB / 0.5637 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2594, allocations: 8.016 kB / 0.5637 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.2594, allocations: 4 kB / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.2594, allocations: 0 / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.2594, allocations: 3.938 kB / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.2595, allocations: 75.28 kB / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2595, allocations: 0 / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.2597, allocations: 67.8 kB / 0.5638 GB, free: 15.23 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.0006302/0.2603, allocations: 0.7153 MB / 0.5645 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.2604, allocations: 63.41 kB / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2604, allocations: 0 / 0.5646 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.2605, allocations: 55.41 kB / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.2606, allocations: 0 / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.2608, allocations: 126.5 kB / 0.5648 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2611, allocations: 0.673 MB / 0.5654 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.318e-06/0.2611, allocations: 8 kB / 0.5654 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.2611, allocations: 7.438 kB / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2611, allocations: 0 / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.2828, allocations: 2.103 MB / 0.5675 GB, free: 11.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/7.113, allocations: 9.547 kB / 0.5675 GB, free: 11.41 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.558301621000282]