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.001152/0.001152, allocations: 105 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.001308/0.001308, allocations: 217.7 kB / 22.92 MB, free: 5.539 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.266/1.266, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.1967/0.1967, allocations: 46.88 MB / 359.3 MB, free: 4.98 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.002156/0.002156, allocations: 79.86 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2547, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001389/0.2561, allocations: 492.4 kB / 0.5589 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.258, allocations: 1.633 MB / 0.5605 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.188e-05/0.258, allocations: 0 / 0.5605 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.598e-06/0.258, allocations: 0 / 0.5605 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.258, allocations: 0 / 0.5605 GB, free: 3.078 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.0007056/0.2587, allocations: 262.4 kB / 0.5607 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.2588, allocations: 11.98 kB / 0.5607 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.857e-05/0.2588, allocations: 8 kB / 0.5607 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.2588, allocations: 3.984 kB / 0.5607 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.2588, allocations: 0 / 0.5607 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-06/0.2588, allocations: 4 kB / 0.5607 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.2595, allocations: 0.5379 MB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-06/0.2595, allocations: 0 / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.2595, allocations: 7.938 kB / 0.5613 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.2599, allocations: 313.1 kB / 0.5616 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2599, allocations: 4 kB / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2599, allocations: 0 / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2599, allocations: 0 / 0.5616 GB, free: 1.941 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.0003325/0.2602, allocations: 376.8 kB / 0.5619 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2603, allocations: 8.031 kB / 0.5619 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.2603, allocations: 38.69 kB / 0.562 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.2603, allocations: 4.938 kB / 0.562 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.2604, allocations: 164.4 kB / 0.5621 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2604, allocations: 384 / 0.5621 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-06/0.2604, allocations: 4.375 kB / 0.5621 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.2605, allocations: 33.83 kB / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.2605, allocations: 0 / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.2605, allocations: 0 / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.2605, allocations: 0 / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.259e-05/0.2605, allocations: 0 / 0.5622 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.2606, allocations: 153.7 kB / 0.5623 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.2607, allocations: 18.52 kB / 0.5623 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.197e-05/0.2607, allocations: 8.859 kB / 0.5623 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.2607, allocations: 4.094 kB / 0.5623 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2607, allocations: 64.14 kB / 0.5624 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2607, allocations: 0 / 0.5624 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.2609, allocations: 67.39 kB / 0.5625 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.2609, allocations: 81.05 kB / 0.5626 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.83e-05/0.261, allocations: 93.81 kB / 0.5626 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.261, allocations: 29.83 kB / 0.5627 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.261, allocations: 80.14 kB / 0.5627 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.261, allocations: 0 / 0.5627 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.261, allocations: 13.72 kB / 0.5628 GB, free: 496 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2612, allocations: 310.8 kB / 0.5631 GB, free: 176 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.2612, allocations: 4 kB / 0.5631 GB, free: 172 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.2612, allocations: 4 kB / 0.5631 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.2612, allocations: 64.31 kB / 0.5631 GB, free: 88 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2612, allocations: 4 kB / 0.5631 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.173e-05/0.2613, allocations: 55.41 kB / 0.5632 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2613, allocations: 37.64 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.2613, allocations: 3.938 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2613, allocations: 0 / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/0.2613, allocations: 3.984 kB / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.2613, allocations: 3.938 kB / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.2614, allocations: 0 / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2614, allocations: 4 kB / 0.5632 GB, free: 15.96 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.754e-05/0.2614, allocations: 139.6 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.2615, allocations: 3.938 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-06/0.2615, allocations: 3.125 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2615, allocations: 4 kB / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2615, allocations: 0 / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.2615, allocations: 0 / 0.5634 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.23e-05/0.2616, allocations: 145.7 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2616, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.2616, allocations: 0 / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2616, allocations: 3.938 kB / 0.5635 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.2616, allocations: 8 kB / 0.5635 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.2616, allocations: 0 / 0.5635 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2616, allocations: 4 kB / 0.5635 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.836e-05/0.2617, allocations: 94.77 kB / 0.5636 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.2617, allocations: 84.98 kB / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.2617, allocations: 0 / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.2617, allocations: 0 / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.2617, allocations: 4.031 kB / 0.5637 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2617, allocations: 4 kB / 0.5637 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.732e-05/0.2618, 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.2618, allocations: 0 / 0.5638 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.262, allocations: 67.8 kB / 0.5638 GB, free: 15.22 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.0006314/0.2627, allocations: 0.7176 MB / 0.5645 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.2627, allocations: 71.33 kB / 0.5646 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2627, allocations: 0 / 0.5646 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.2628, allocations: 55.41 kB / 0.5647 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.2629, allocations: 4 kB / 0.5647 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2631, allocations: 126.5 kB / 0.5648 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2634, allocations: 0.669 MB / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.2634, allocations: 3.984 kB / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.2634, allocations: 7.562 kB / 0.5655 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2634, allocations: 4 kB / 0.5655 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.2853, allocations: 2.102 MB / 0.5675 GB, free: 11.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.372, allocations: 0 / 0.5675 GB, free: 11.4 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.80063911099569]