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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.238/0.238, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB 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.003049/0.003049, allocations: 81.28 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1264, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001899/0.1283, allocations: 483.7 kB / 480.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.1317, allocations: 2.052 MB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-06/0.1317, allocations: 0 / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.817e-06/0.1317, allocations: 0 / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.483e-06/0.1317, allocations: 0 / 482.7 MB, free: 2.605 MB / 350.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.001724/0.1335, allocations: 0.5129 MB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.738e-05/0.1335, allocations: 0 / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.1335, allocations: 4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.047e-05/0.1336, allocations: 0 / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.272e-05/0.1336, allocations: 0 / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-06/0.1336, allocations: 0 / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.135, allocations: 0.9083 MB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.135, allocations: 4 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.135, allocations: 0 / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.136, allocations: 0.7876 MB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.136, allocations: 0 / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1361, allocations: 0 / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1361, allocations: 0 / 484.9 MB, free: 396 kB / 350.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.0004386/0.1365, allocations: 387.4 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1366, allocations: 8.031 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.1366, allocations: 110 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1367, allocations: 76.22 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1369, allocations: 235.7 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.1369, allocations: 154.9 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.137, allocations: 154.9 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.1371, allocations: 105.1 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.1371, allocations: 79.28 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.1372, allocations: 150.6 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.1373, allocations: 158.5 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.1373, allocations: 150.6 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1377, allocations: 445.9 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1378, allocations: 173.1 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.1378, allocations: 88.12 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1379, allocations: 75.28 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/0.1379, allocations: 121.7 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.138, allocations: 0 / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.509e-05/0.138, allocations: 33.7 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.1381, allocations: 156.4 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.703e-05/0.1382, allocations: 93.84 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1382, allocations: 25.7 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.1383, allocations: 80.14 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.1383, allocations: 3.938 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.1383, allocations: 13.72 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1384, allocations: 314.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.1384, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.1385, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.1385, allocations: 75.28 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.287e-05/0.1386, allocations: 79.22 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.849e-05/0.1386, allocations: 29.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.1387, allocations: 83.22 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.1387, allocations: 75.28 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.773e-05/0.1388, allocations: 174.5 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.229e-05/0.1388, allocations: 75.28 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-05/0.1389, allocations: 158.5 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.139, allocations: 75.28 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.139, allocations: 75.28 kB / 489.1 MB, free: 11.93 MB / 366.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.0001488/0.1392, allocations: 264.4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1393, allocations: 112.9 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.1393, allocations: 108.1 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.599e-05/0.1394, allocations: 184.2 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.429e-05/0.1395, allocations: 176.3 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.019e-05/0.1396, allocations: 176.3 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.1398, allocations: 413.2 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.1399, allocations: 101 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.1399, allocations: 108.9 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.14, allocations: 180.2 kB / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.979e-05/0.1401, allocations: 176.3 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.952e-05/0.1402, allocations: 188.2 kB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-05/0.1403, allocations: 180.3 kB / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1405, allocations: 303.8 kB / 491.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.1406, allocations: 186 kB / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.1407, allocations: 180.2 kB / 492.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.1408, allocations: 113 kB / 492.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.1409, allocations: 180.2 kB / 492.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.1409, allocations: 101 kB / 492.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.1409, allocations: 75.28 kB / 492.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.141, allocations: 3.938 kB / 492.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.1416, allocations: 155.9 kB / 492.7 MB, free: 8.121 MB / 366.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.001106/0.1427, allocations: 0.9742 MB / 493.7 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.976e-05/0.1428, allocations: 7.984 kB / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1428, allocations: 0 / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1428, allocations: 32 / 493.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1432, allocations: 451.7 kB / 494.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.1437, allocations: 229.9 kB / 494.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.144, allocations: 0.6806 MB / 495 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.465e-06/0.144, allocations: 3.938 kB / 495.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.144, allocations: 7.438 kB / 495.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.144, allocations: 4 kB / 495.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1724, allocations: 4.314 MB / 499.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.163, allocations: 8.688 kB / 499.4 MB, free: 1.48 MB / 366.1 MB (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)