Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 99.25 kB / 16.27 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 188.9 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2094/0.2094, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 67.42 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1347, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001685/0.1365, allocations: 496.9 kB / 441.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.139, allocations: 2.009 MB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-06/0.139, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.889e-06/0.1391, allocations: 4 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.873e-06/0.1391, allocations: 0 / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1408, allocations: 0.5191 MB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 1.704e-05/0.1408, allocations: 0 / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1408, allocations: 7.984 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.067e-05/0.1408, allocations: 0 / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.234e-05/0.1409, allocations: 0 / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-06/0.1409, allocations: 0 / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1421, allocations: 0.881 MB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-06/0.1421, allocations: 4 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.1421, allocations: 0 / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1432, allocations: 0.7836 MB / 445.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1432, allocations: 0 / 445.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1432, allocations: 3.984 kB / 445.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1432, allocations: 0 / 445.3 MB, free: 2.098 MB / 318.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.0004493/0.1437, allocations: 375.6 kB / 445.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1437, allocations: 11.89 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.1438, allocations: 117.9 kB / 445.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.1438, allocations: 80.22 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.1439, allocations: 235.7 kB / 446.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.144, allocations: 150.9 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.144, allocations: 158.9 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.929e-05/0.1441, allocations: 105.1 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1441, allocations: 75.28 kB / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1441, allocations: 154.6 kB / 446.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1442, allocations: 154.5 kB / 446.9 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.1442, allocations: 154.5 kB / 447 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1445, allocations: 449.9 kB / 447.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1446, allocations: 169.1 kB / 447.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1447, allocations: 80.14 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.1447, allocations: 75.28 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/0.1448, allocations: 117.7 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1448, allocations: 0 / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.732e-05/0.1449, allocations: 29.7 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.145, allocations: 156.4 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.145, allocations: 89.86 kB / 448.2 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1451, allocations: 25.7 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1451, allocations: 80.14 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.1451, allocations: 0 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.1452, allocations: 17.7 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1453, allocations: 310.8 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-06/0.1453, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.1453, allocations: 4 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.1454, allocations: 75.28 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.1454, allocations: 75.28 kB / 448.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.441e-05/0.1455, allocations: 37.64 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.1455, allocations: 83.22 kB / 448.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.1456, allocations: 75.36 kB / 449 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.92e-05/0.1457, allocations: 162.5 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.1457, allocations: 83.3 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-05/0.1458, allocations: 150.6 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.1459, allocations: 79.27 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.1459, allocations: 83.28 kB / 449.5 MB, free: 13.65 MB / 334.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.0001376/0.1461, allocations: 264.3 kB / 449.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.1461, allocations: 112.9 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.1462, allocations: 112.1 kB / 450 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/0.1463, allocations: 180.2 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-05/0.1464, allocations: 180.3 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-05/0.1465, allocations: 176.3 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1467, allocations: 413.1 kB / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.1468, allocations: 105 kB / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.1468, allocations: 108.9 kB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.107e-05/0.1469, allocations: 180.2 kB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/0.147, allocations: 180.3 kB / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.591e-05/0.1471, allocations: 188.2 kB / 451.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.583e-05/0.1472, allocations: 180.3 kB / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.1474, allocations: 299.8 kB / 452.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.274e-05/0.1475, allocations: 190 kB / 452.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.1476, allocations: 188.2 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1477, allocations: 101 kB / 452.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.1478, allocations: 184.2 kB / 452.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.1478, allocations: 101 kB / 452.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.1478, allocations: 75.28 kB / 452.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1478, allocations: 0 / 452.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.1485, allocations: 148 kB / 453.1 MB, free: 9.84 MB / 334.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.001101/0.1496, allocations: 0.9667 MB / 454.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.733e-05/0.1497, allocations: 8 kB / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1497, allocations: 0 / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1497, allocations: 0 / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1501, allocations: 454.8 kB / 454.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.1506, allocations: 226.4 kB / 454.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1509, allocations: 0.669 MB / 455.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.34e-05/0.1509, allocations: 7.938 kB / 455.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.151, allocations: 11.38 kB / 455.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.151, allocations: 0 / 455.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1748, allocations: 4.233 MB / 459.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.104, allocations: 3.75 kB / 459.6 MB, free: 3.211 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)