Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001446/0.001446, allocations: 106.5 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.001579/0.001579, allocations: 221.7 kB / 22.92 MB, free: 5.535 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.2002/0.2002, allocations: 46.88 MB / 359.3 MB, free: 4.996 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",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.00211/0.00211, allocations: 79.88 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 65.98 MB / 0.5584 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001316/0.2617, allocations: 489 kB / 0.5589 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.2645, allocations: 2.172 MB / 0.561 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.2645, allocations: 3.938 kB / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.2645, allocations: 0 / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.157e-06/0.2645, allocations: 0 / 0.561 GB, free: 2.566 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.001694/0.2662, allocations: 0.7232 MB / 0.5617 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.012e-05/0.2662, allocations: 7.984 kB / 0.5617 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.2663, allocations: 7.969 kB / 0.5617 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.212e-05/0.2663, allocations: 0 / 0.5617 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.2663, allocations: 0 / 0.5617 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-06/0.2663, allocations: 0 / 0.5617 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.2684, allocations: 1.584 MB / 0.5633 GB, free: 256 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-06/0.2684, allocations: 0 / 0.5633 GB, free: 256 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.2684, allocations: 0 / 0.5633 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.2699, allocations: 1.553 MB / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2699, allocations: 0 / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2699, allocations: 0 / 0.5648 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.2699, allocations: 0 / 0.5648 GB, free: 14.7 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.0005752/0.2705, allocations: 420.5 kB / 0.5652 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2705, allocations: 12.03 kB / 0.5652 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.2705, allocations: 30.75 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.2705, allocations: 4.938 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2706, allocations: 168.3 kB / 0.5654 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.2707, allocations: 384 / 0.5654 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2707, allocations: 7.938 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/0.2707, allocations: 29.7 kB / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2708, allocations: 0 / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.2708, allocations: 0 / 0.5654 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2708, allocations: 7.922 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.43e-05/0.2708, allocations: 4 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2709, allocations: 149.7 kB / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.271, allocations: 26.48 kB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.271, allocations: 4.859 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.271, allocations: 0 / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.271, allocations: 60.27 kB / 0.5657 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.271, allocations: 0 / 0.5657 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.2712, allocations: 71.41 kB / 0.5657 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2712, allocations: 81.05 kB / 0.5658 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.2713, allocations: 89.86 kB / 0.5659 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2713, allocations: 33.64 kB / 0.5659 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.2713, allocations: 80.14 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2713, allocations: 0 / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.2714, allocations: 13.72 kB / 0.566 GB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2715, allocations: 318.8 kB / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.2715, allocations: 4.125 kB / 0.5663 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.2715, allocations: 0 / 0.5663 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.2715, allocations: 60.27 kB / 0.5664 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2715, allocations: 0 / 0.5664 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.176e-05/0.2716, allocations: 71.33 kB / 0.5664 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.2716, allocations: 29.7 kB / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2717, allocations: 0 / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2717, allocations: 0 / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.2717, allocations: 3.938 kB / 0.5665 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2717, allocations: 4.094 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.2717, allocations: 4 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2717, allocations: 0 / 0.5665 GB, free: 12.66 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 8.92e-05/0.2718, allocations: 131.5 kB / 0.5666 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2718, allocations: 7.938 kB / 0.5666 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-06/0.2718, allocations: 7.109 kB / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.2718, allocations: 0 / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2718, allocations: 0 / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2718, allocations: 0 / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.2719, allocations: 153.6 kB / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2719, allocations: 0 / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2719, allocations: 7.938 kB / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.2719, allocations: 0 / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2719, allocations: 0 / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2719, allocations: 0 / 0.5668 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2719, allocations: 3.984 kB / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.867e-05/0.272, allocations: 90.78 kB / 0.5669 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.272, allocations: 81.14 kB / 0.5669 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2721, allocations: 7.922 kB / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.2721, allocations: 0 / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2721, allocations: 4 kB / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.2721, allocations: 4 kB / 0.567 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.2721, allocations: 75.28 kB / 0.567 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2721, allocations: 0 / 0.567 GB, free: 11.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.2729, allocations: 275.5 kB / 0.5673 GB, free: 11.72 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.001504/0.2744, allocations: 0.9494 MB / 0.5682 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.2744, allocations: 59.34 kB / 0.5683 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2744, allocations: 0 / 0.5683 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.2745, allocations: 59.39 kB / 0.5683 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.2746, allocations: 3.938 kB / 0.5683 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.275, allocations: 170.4 kB / 0.5685 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2753, allocations: 0.669 MB / 0.5692 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.659e-06/0.2753, allocations: 0 / 0.5692 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.2753, allocations: 7.438 kB / 0.5692 GB, free: 9.695 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2753, allocations: 0 / 0.5692 GB, free: 9.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3055, allocations: 8.21 MB / 0.5772 GB, free: 1.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.493, allocations: 4 kB / 0.5772 GB, free: 1.527 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.968078931007767]