Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_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.001059/0.001059, allocations: 102.5 kB / 17.63 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 210.4 kB / 18.58 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 79.72 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001596/0.1176, allocations: 490.4 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1203, allocations: 2.042 MB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-06/0.1203, allocations: 0 / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-06/0.1203, allocations: 0 / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.1204, allocations: 0 / 482.6 MB, free: 2.66 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-750: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.001678/0.122, allocations: 0.5157 MB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.268e-05/0.1221, allocations: 4 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.678e-05/0.1221, allocations: 0 / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-06/0.1221, allocations: 7.938 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-06/0.1221, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-06/0.1221, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1234, allocations: 0.8889 MB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-06/0.1234, allocations: 0 / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.15e-05/0.1234, allocations: 3.938 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.1244, allocations: 0.7914 MB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1244, allocations: 4 kB / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1244, allocations: 0 / 484.9 MB, free: 460 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1244, allocations: 0 / 484.9 MB, free: 460 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.0004515/0.1249, allocations: 379.5 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1249, allocations: 12.03 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.125, allocations: 106 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.1251, allocations: 76.22 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1252, allocations: 243.6 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.1252, allocations: 154.9 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.1253, allocations: 150.9 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.1253, allocations: 109.1 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1254, allocations: 79.22 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.1254, allocations: 154.5 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.1255, allocations: 154.6 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.1255, allocations: 150.6 kB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.1258, allocations: 445.9 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.412e-05/0.1259, allocations: 169.1 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1259, allocations: 88.14 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1259, allocations: 75.28 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.126, allocations: 109.8 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.126, allocations: 0 / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.064e-05/0.1261, allocations: 37.62 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.1261, allocations: 164.4 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.839e-05/0.1262, allocations: 89.86 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1262, allocations: 29.7 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.1262, allocations: 80.14 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1262, allocations: 3.938 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.1262, allocations: 9.719 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.1263, allocations: 314.8 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.1263, allocations: 0 / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.1264, allocations: 4 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.1264, allocations: 75.28 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/0.1264, allocations: 79.31 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.375e-05/0.1265, allocations: 33.64 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.1265, allocations: 85.56 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.1266, allocations: 79.27 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.094e-05/0.1266, allocations: 154.6 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/0.1267, allocations: 83.22 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/0.1267, allocations: 150.6 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.1268, allocations: 83.22 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1268, allocations: 75.28 kB / 489 MB, free: 12 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 9.41e-05/0.1269, allocations: 260.4 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.127, allocations: 112.9 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.127, allocations: 108 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-05/0.1271, allocations: 184.3 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/0.1271, allocations: 180.2 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/0.1272, allocations: 176.3 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1274, allocations: 401.2 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.1274, allocations: 108.9 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1274, allocations: 105 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.895e-05/0.1275, allocations: 188.1 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.1276, allocations: 180.2 kB / 491 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.1276, allocations: 184.2 kB / 491.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-05/0.1277, allocations: 180.2 kB / 491.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1278, allocations: 307.8 kB / 491.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1279, allocations: 186 kB / 491.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.128, allocations: 184.2 kB / 492 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1281, allocations: 105 kB / 492.1 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.1281, allocations: 176.3 kB / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.1282, allocations: 108.9 kB / 492.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1282, allocations: 75.28 kB / 492.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1282, allocations: 0 / 492.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.1288, allocations: 152.2 kB / 492.6 MB, free: 8.195 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.0009894/0.1298, allocations: 0.9551 MB / 493.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.399e-05/0.1299, allocations: 7.938 kB / 493.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1299, allocations: 4 kB / 493.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1299, allocations: 4.031 kB / 493.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1302, allocations: 459.6 kB / 494 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.1307, allocations: 217.9 kB / 494.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.131, allocations: 0.6768 MB / 494.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.01e-05/0.131, allocations: 3.938 kB / 494.9 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.131, allocations: 7.438 kB / 494.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.131, allocations: 4 kB / 494.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1526, allocations: 4.237 MB / 499.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.376, allocations: 4 kB / 499.2 MB, free: 1.633 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)