Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.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.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials",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.001247/0.001247, allocations: 103.8 kB / 16.4 MB, free: 6.5 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.001312/0.001312, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.356/1.356, 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.1994/0.1994, allocations: 43.52 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.001466/0.001467, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1013, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00176/0.1032, allocations: 0.5024 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1092, allocations: 5.077 MB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.1093, allocations: 0 / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.1093, allocations: 0 / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1093, allocations: 0 / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.1103, allocations: 231.2 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.1103, allocations: 4 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.1104, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.1104, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.434e-05/0.1104, allocations: 0 / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.1104, allocations: 4 kB / 0.4931 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.111, allocations: 411.2 kB / 0.4934 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.1111, allocations: 0 / 0.4934 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.1111, allocations: 3.938 kB / 0.4934 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.1116, allocations: 311.2 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1116, allocations: 0 / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1116, allocations: 4 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1116, allocations: 0 / 0.4937 GB, free: 5.742 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003995/0.112, allocations: 392.2 kB / 0.4941 GB, free: 5.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1121, allocations: 15.89 kB / 0.4941 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.1121, allocations: 30.75 kB / 0.4942 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.1121, allocations: 0.9375 kB / 0.4942 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.1122, allocations: 160.4 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1122, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.1122, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.129e-05/0.1123, allocations: 37.64 kB / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1123, allocations: 0 / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1123, allocations: 3.938 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1124, allocations: 0 / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.1124, allocations: 15.91 kB / 0.4944 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1125, allocations: 145.7 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.278e-05/0.1125, allocations: 14.58 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.1126, allocations: 8.953 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.1126, allocations: 7.938 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1126, allocations: 56.27 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1126, allocations: 0 / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.1128, allocations: 71.33 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1128, allocations: 77.11 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.64e-05/0.1129, allocations: 89.86 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1129, allocations: 25.7 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.1129, allocations: 88.27 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.1129, allocations: 0 / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.113, allocations: 9.719 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1131, allocations: 318.8 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1131, allocations: 4 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.1131, allocations: 0 / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.1132, allocations: 60.27 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1132, allocations: 4 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.121e-05/0.1132, allocations: 75.33 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.1133, allocations: 29.7 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1133, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1133, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1133, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1133, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.1133, allocations: 4 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1134, allocations: 7.938 kB / 0.4954 GB, free: 3.746 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.31e-05/0.1134, allocations: 139.5 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.1135, allocations: 7.938 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.417e-06/0.1135, allocations: 7.109 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1135, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1135, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1135, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.366e-05/0.1136, allocations: 141.7 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1136, allocations: 3.938 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-06/0.1136, allocations: 7.938 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1136, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1136, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1136, allocations: 4 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1136, allocations: 3.984 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.54e-05/0.1137, allocations: 90.78 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1137, allocations: 81.05 kB / 0.4959 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1138, allocations: 3.984 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-06/0.1138, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1138, allocations: 7.984 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1138, allocations: 8.031 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.1138, allocations: 75.28 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 0 / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1142, allocations: 63.8 kB / 0.496 GB, free: 3.008 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006531/0.1148, allocations: 0.7103 MB / 0.4967 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.1149, allocations: 59.39 kB / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1149, allocations: 0 / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.115, allocations: 55.41 kB / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1151, allocations: 11.8 kB / 0.4969 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.1154, allocations: 138.4 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.1156, allocations: 0.669 MB / 0.4976 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.174e-06/0.1156, allocations: 7.984 kB / 0.4976 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.1156, allocations: 7.438 kB / 0.4977 GB, free: 1.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1156, allocations: 0 / 0.4977 GB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.1353, allocations: 2.514 MB / 0.5001 GB, free: 14.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.16, allocations: 3.938 kB / 0.5001 GB, free: 14.7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_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_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1)