Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001431/0.001431, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001599/0.001599, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.59 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.1971/0.1971, allocations: 46.89 MB / 359.3 MB, free: 4.957 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.002088/0.002088, allocations: 83.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2683, allocations: 65.97 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001379/0.2697, allocations: 499.4 kB / 0.5589 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.2724, allocations: 2.077 MB / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-06/0.2724, allocations: 0 / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-06/0.2724, allocations: 0 / 0.5609 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-07/0.2724, allocations: 0 / 0.5609 GB, free: 2.617 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.2738, allocations: 0.5132 MB / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.499e-05/0.2738, allocations: 0 / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.327e-05/0.2738, allocations: 4 kB / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-06/0.2738, allocations: 0 / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-06/0.2738, allocations: 0 / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-06/0.2738, allocations: 0 / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2751, allocations: 0.9746 MB / 0.5623 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-06/0.2751, allocations: 0 / 0.5623 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.2751, allocations: 7.922 kB / 0.5624 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.2761, allocations: 0.8008 MB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2761, allocations: 0 / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2761, allocations: 0 / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2761, allocations: 0 / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003879/0.2764, allocations: 382.8 kB / 0.5635 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2765, allocations: 8.031 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.2765, allocations: 114 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.2766, allocations: 76.22 kB / 0.5637 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2767, allocations: 243.7 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.2768, allocations: 150.9 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2769, allocations: 150.9 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.85e-05/0.2769, allocations: 105.1 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.277, allocations: 79.28 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.277, allocations: 150.6 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.2771, allocations: 150.6 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.2772, allocations: 158.5 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2774, allocations: 442 kB / 0.5652 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.2775, allocations: 169.1 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.2776, allocations: 84.08 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.2776, allocations: 83.27 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.2777, allocations: 113.7 kB / 0.5657 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2777, allocations: 4 kB / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.713e-05/0.2777, allocations: 29.75 kB / 0.5657 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2778, allocations: 156.4 kB / 0.5659 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.2779, allocations: 89.86 kB / 0.5659 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2779, allocations: 25.7 kB / 0.566 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.2779, allocations: 80.14 kB / 0.566 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.2779, allocations: 0 / 0.566 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.2779, allocations: 13.72 kB / 0.5661 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2781, allocations: 314.8 kB / 0.5664 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-06/0.2781, allocations: 0 / 0.5664 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.2781, allocations: 4 kB / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.2781, allocations: 75.28 kB / 0.5664 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.2781, allocations: 75.28 kB / 0.5665 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.329e-05/0.2782, allocations: 37.62 kB / 0.5665 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.2782, allocations: 83.22 kB / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.2783, allocations: 83.36 kB / 0.5667 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.152e-05/0.2783, allocations: 158.5 kB / 0.5669 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.2784, allocations: 75.28 kB / 0.5669 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.086e-05/0.2784, allocations: 150.6 kB / 0.5671 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.2785, allocations: 83.22 kB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.2785, allocations: 87.2 kB / 0.5672 GB, free: 11.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001222/0.2787, allocations: 260.4 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.2787, allocations: 108.9 kB / 0.5676 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.2788, allocations: 111.9 kB / 0.5677 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.2788, allocations: 176.3 kB / 0.5679 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-05/0.2789, allocations: 184.2 kB / 0.568 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.458e-05/0.279, allocations: 180.3 kB / 0.5682 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2792, allocations: 405.2 kB / 0.5686 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.2793, allocations: 101 kB / 0.5687 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.2793, allocations: 112.9 kB / 0.5688 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-05/0.2794, allocations: 188.2 kB / 0.569 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.2795, allocations: 180.3 kB / 0.5691 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.96e-05/0.2795, allocations: 180.2 kB / 0.5693 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.561e-05/0.2796, allocations: 184.2 kB / 0.5695 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.2798, allocations: 311.7 kB / 0.5698 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.2799, allocations: 182 kB / 0.57 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.2799, allocations: 184.2 kB / 0.5701 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.28, allocations: 105 kB / 0.5702 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.2801, allocations: 184.2 kB / 0.5704 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.2801, allocations: 105 kB / 0.5705 GB, free: 8.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.2802, allocations: 75.28 kB / 0.5706 GB, free: 8.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2802, allocations: 0 / 0.5706 GB, free: 8.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005108/0.2807, allocations: 147.6 kB / 0.5707 GB, free: 8.062 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0009307/0.2816, allocations: 0.9848 MB / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.056e-05/0.2816, allocations: 0 / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2817, allocations: 0 / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.2817, allocations: 496 / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.282, allocations: 455.7 kB / 0.5721 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.2824, allocations: 225.5 kB / 0.5723 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2827, allocations: 0.669 MB / 0.573 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.522e-06/0.2827, allocations: 0 / 0.573 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.2827, allocations: 15.38 kB / 0.573 GB, free: 5.633 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.2827, allocations: 0 / 0.573 GB, free: 5.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3077, allocations: 4.309 MB / 0.5772 GB, free: 1.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.287, allocations: 7.625 kB / 0.5772 GB, free: 1.379 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.739330444004736]