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.001318/0.001318, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001189/0.001189, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2196/0.2196, allocations: 43.53 MB / 314.1 MB, free: 456 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.00173/0.00173, allocations: 67.91 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1116, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001813/0.1134, allocations: 0.4947 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.1171, allocations: 2.018 MB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-06/0.1171, allocations: 7.938 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.379e-06/0.1172, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.392e-06/0.1172, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.119, allocations: 0.5026 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.404e-05/0.1191, allocations: 3.984 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.842e-05/0.1191, allocations: 4 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-06/0.1191, allocations: 4 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-06/0.1191, allocations: 0 / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-06/0.1191, allocations: 0 / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1206, allocations: 0.881 MB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1207, allocations: 0 / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.1207, allocations: 3.938 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1222, allocations: 0.7795 MB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.1222, allocations: 4 kB / 0.492 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1222, allocations: 7.938 kB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1222, allocations: 0 / 0.492 GB, free: 7.605 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.000612/0.1228, allocations: 378.8 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1229, allocations: 15.89 kB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.123, allocations: 106 kB / 0.4925 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.123, allocations: 80.16 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1232, allocations: 239.7 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.1232, allocations: 158.9 kB / 0.4929 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.1233, allocations: 150.9 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.1234, allocations: 109.1 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.1235, allocations: 75.28 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.1235, allocations: 150.6 kB / 0.4934 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.1236, allocations: 154.5 kB / 0.4935 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1238, allocations: 154.6 kB / 0.4937 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1241, allocations: 445.9 kB / 0.4941 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1242, allocations: 169.1 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.1242, allocations: 80.14 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1243, allocations: 83.22 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.1244, allocations: 109.8 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.1244, allocations: 0 / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.644e-05/0.1245, allocations: 33.7 kB / 0.4946 GB, free: 4.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.1245, allocations: 160.3 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.1246, allocations: 89.86 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1246, allocations: 25.7 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.1247, allocations: 84.14 kB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1247, allocations: 0 / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1247, allocations: 13.7 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1248, allocations: 314.8 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.1248, allocations: 0 / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.1249, allocations: 0 / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.1249, allocations: 79.22 kB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.1249, allocations: 75.28 kB / 0.4954 GB, free: 3.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.38e-05/0.125, allocations: 33.73 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.125, allocations: 83.22 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.1251, allocations: 79.28 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-05/0.1251, allocations: 154.5 kB / 0.4957 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-05/0.1252, allocations: 87.27 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-05/0.1252, allocations: 154.5 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.1253, allocations: 79.28 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1254, allocations: 75.28 kB / 0.4961 GB, free: 3.16 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.0001161/0.1255, allocations: 268.3 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.1255, allocations: 112.8 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.1256, allocations: 108.1 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.1257, allocations: 184.2 kB / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-05/0.1257, allocations: 180.3 kB / 0.4969 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.1258, allocations: 176.3 kB / 0.497 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.126, allocations: 405.2 kB / 0.4974 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/0.1261, allocations: 105 kB / 0.4975 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.1261, allocations: 104.9 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.084e-05/0.1262, allocations: 184.2 kB / 0.4978 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.1263, allocations: 176.3 kB / 0.498 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.283e-05/0.1264, allocations: 188.2 kB / 0.4982 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.019e-05/0.1264, allocations: 184.2 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1266, allocations: 311.8 kB / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.1266, allocations: 186 kB / 0.4988 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.1267, allocations: 188.2 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.1268, allocations: 105 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.1269, allocations: 180.2 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.127, allocations: 101 kB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.127, allocations: 79.28 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.127, allocations: 0 / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007405/0.1278, allocations: 151.6 kB / 0.4996 GB, free: 15.33 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.001217/0.129, allocations: 0.9709 MB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.136e-05/0.129, allocations: 11.94 kB / 0.5005 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1291, allocations: 0 / 0.5005 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.1291, allocations: 0 / 0.5005 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1294, allocations: 455.7 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1299, allocations: 233.3 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1302, allocations: 0.669 MB / 0.5018 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.1302, allocations: 4 kB / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.1302, allocations: 7.438 kB / 0.5019 GB, free: 12.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1302, allocations: 0 / 0.5019 GB, free: 12.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.155, allocations: 4.253 MB / 0.506 GB, free: 8.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.87, allocations: 12.64 kB / 0.506 GB, free: 8.625 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1)