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.001623/0.001623, allocations: 104.1 kB / 16.27 MB, free: 6.051 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.001873/0.001873, allocations: 187.8 kB / 17.19 MB, free: 5.688 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.371/1.371, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2085/0.2085, 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.001484/0.001484, allocations: 67.61 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1003, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001678/0.102, allocations: 497.4 kB / 441.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.1069, allocations: 5.063 MB / 446.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.1069, allocations: 3.938 kB / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1069, allocations: 0 / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.107, allocations: 0 / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.1079, allocations: 219.3 kB / 446.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.1079, allocations: 19.92 kB / 446.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.108, allocations: 3.984 kB / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.108, allocations: 0 / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.711e-05/0.108, allocations: 0 / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-06/0.108, allocations: 0 / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.1086, allocations: 399.2 kB / 446.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.1086, allocations: 0 / 446.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1087, allocations: 0 / 446.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.109, allocations: 311.3 kB / 447.1 MB, free: 304 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1091, allocations: 4 kB / 447.1 MB, free: 300 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1091, allocations: 0 / 447.1 MB, free: 300 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1091, allocations: 8 kB / 447.1 MB, free: 292 kB / 318.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.000361/0.1094, allocations: 381.2 kB / 447.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1095, allocations: 11.89 kB / 447.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.1095, allocations: 30.75 kB / 447.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.1096, allocations: 0.9375 kB / 447.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1097, allocations: 168.4 kB / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.1097, allocations: 384 / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1097, allocations: 4.375 kB / 447.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.1098, allocations: 37.58 kB / 447.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1098, allocations: 0 / 447.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1098, allocations: 0 / 447.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1098, allocations: 4 kB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.1098, allocations: 0 / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.11, allocations: 145.7 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.281e-05/0.11, allocations: 18.61 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.11, allocations: 8.859 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.11, allocations: 11.88 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1101, allocations: 64.2 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.1101, allocations: 3.938 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1103, allocations: 63.45 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1103, allocations: 81.11 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.278e-05/0.1104, allocations: 89.86 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1104, allocations: 25.7 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.1104, allocations: 84.27 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1104, allocations: 4.281 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.1105, allocations: 13.72 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1106, allocations: 310.8 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.1106, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.1106, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.1107, allocations: 68.19 kB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1107, allocations: 0 / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.424e-05/0.1107, allocations: 71.41 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.1108, allocations: 29.7 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1108, allocations: 0 / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1108, allocations: 4 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1108, allocations: 0 / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1108, allocations: 3.984 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.1108, allocations: 3.938 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1108, allocations: 0 / 448.8 MB, free: 14.3 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: 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 9.389e-05/0.1109, allocations: 139.5 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.111, allocations: 7.969 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-06/0.111, allocations: 3.125 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.111, allocations: 0 / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.111, allocations: 0 / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.111, allocations: 0 / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.1111, allocations: 153.7 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1111, allocations: 0 / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.1111, allocations: 7.875 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1111, allocations: 0 / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1111, allocations: 0 / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1111, allocations: 0 / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1111, allocations: 4 kB / 449.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.335e-05/0.1112, allocations: 94.81 kB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.1113, allocations: 81.05 kB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1113, allocations: 7.938 kB / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.1113, allocations: 0 / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1113, allocations: 0 / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.1113, allocations: 0 / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.1114, allocations: 83.25 kB / 449.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1114, allocations: 0 / 449.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1117, allocations: 71.98 kB / 449.5 MB, free: 13.55 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: 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.0006553/0.1124, allocations: 0.7115 MB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.1125, allocations: 63.41 kB / 450.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1125, allocations: 0 / 450.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.1125, allocations: 59.39 kB / 450.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.1126, allocations: 2.969 kB / 450.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.113, allocations: 138.5 kB / 450.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1132, allocations: 0.6767 MB / 451.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.1132, allocations: 0 / 451.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.1133, allocations: 7.438 kB / 451.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1133, allocations: 0 / 451.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1327, allocations: 2.491 MB / 453.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.633, allocations: 13.81 kB / 453.6 MB, free: 9.281 MB / 334.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)