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.001514/0.001514, allocations: 109.8 kB / 16.41 MB, free: 6.504 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.001675/0.001675, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2263/0.2263, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.002112/0.002112, allocations: 67.89 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1216, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001507/0.1232, allocations: 494.6 kB / 499.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1264, allocations: 2.026 MB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-06/0.1264, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.767e-06/0.1264, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.1264, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.1281, allocations: 0.5065 MB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.418e-05/0.1281, allocations: 3.984 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.1282, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.225e-05/0.1282, allocations: 4 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.169e-05/0.1282, allocations: 0 / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-06/0.1282, allocations: 0 / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1296, allocations: 0.881 MB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-06/0.1296, allocations: 0 / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1297, allocations: 0 / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1308, allocations: 0.795 MB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1308, allocations: 0 / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1308, allocations: 0 / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1308, allocations: 4 kB / 0.492 GB, free: 7.613 MB / 382.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.0004604/0.1313, allocations: 378.8 kB / 0.4923 GB, free: 7.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1313, allocations: 11.89 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.1314, allocations: 106 kB / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.1315, allocations: 76.22 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1316, allocations: 243.6 kB / 0.4928 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.1317, allocations: 150.9 kB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.1318, allocations: 158.9 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.113e-05/0.1319, allocations: 109 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.1319, allocations: 75.28 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.132, allocations: 150.6 kB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.975e-05/0.1321, allocations: 154.5 kB / 0.4935 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.1322, allocations: 158.5 kB / 0.4937 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.1325, allocations: 442 kB / 0.4941 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1326, allocations: 173.1 kB / 0.4943 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1327, allocations: 80.14 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1328, allocations: 75.28 kB / 0.4944 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.1328, allocations: 113.8 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1328, allocations: 0 / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.293e-05/0.1329, allocations: 37.7 kB / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.133, allocations: 152.4 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.1331, allocations: 97.78 kB / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1331, allocations: 25.7 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1332, allocations: 84.08 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1332, allocations: 4 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.1332, allocations: 13.72 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1334, allocations: 310.8 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.1334, allocations: 0 / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.1334, allocations: 0 / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.1334, allocations: 75.28 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/0.1335, allocations: 75.28 kB / 0.4954 GB, free: 3.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.304e-05/0.1335, allocations: 29.7 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.1336, allocations: 87.25 kB / 0.4955 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/0.1336, allocations: 87.22 kB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.1337, allocations: 158.6 kB / 0.4957 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.1338, allocations: 79.28 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.128e-05/0.1339, allocations: 158.5 kB / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.134, allocations: 75.28 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.134, allocations: 87.22 kB / 0.4961 GB, free: 3.156 MB / 382.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.000147/0.1342, allocations: 264.3 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.1343, allocations: 104.9 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.1343, allocations: 112 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.681e-05/0.1344, allocations: 184.2 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-05/0.1345, allocations: 180.3 kB / 0.4969 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.032e-05/0.1346, allocations: 180.2 kB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1349, allocations: 405.2 kB / 0.4974 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.606e-05/0.135, allocations: 104.9 kB / 0.4975 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.135, allocations: 101 kB / 0.4976 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-05/0.1351, allocations: 180.2 kB / 0.4978 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.1352, allocations: 188.2 kB / 0.498 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000101/0.1353, allocations: 180.2 kB / 0.4982 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.684e-05/0.1354, allocations: 184.2 kB / 0.4983 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1356, allocations: 299.8 kB / 0.4986 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1357, allocations: 194 kB / 0.4988 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1358, allocations: 184.3 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1359, allocations: 104.9 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.136, allocations: 176.3 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.1361, allocations: 101 kB / 0.4994 GB, free: 15.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.353e-05/0.1361, allocations: 75.28 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1361, allocations: 4 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006249/0.1368, allocations: 151.6 kB / 0.4996 GB, free: 15.35 MB / 398.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.001124/0.1379, allocations: 0.9672 MB / 0.5005 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.138, allocations: 8 kB / 0.5005 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.138, allocations: 3.938 kB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.138, allocations: 0 / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1384, allocations: 459.6 kB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1389, allocations: 229.4 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1393, allocations: 0.6729 MB / 0.5018 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.259e-05/0.1393, allocations: 7.984 kB / 0.5019 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.1393, allocations: 7.438 kB / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1393, allocations: 0 / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.1671, allocations: 4.263 MB / 0.506 GB, free: 8.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.505, allocations: 8.703 kB / 0.506 GB, free: 8.633 MB / 398.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)