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.001164/0.001164, allocations: 105.5 kB / 16.27 MB, free: 6.41 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.001374/0.001374, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.36/1.36, 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.2137/0.2137, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001569/0.001569, allocations: 66.52 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09351, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00174/0.09528, allocations: 0.5013 MB / 441.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.1009, allocations: 5.063 MB / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1009, allocations: 0 / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.101, allocations: 0 / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.101, allocations: 0 / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.1019, allocations: 227.3 kB / 446.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.102, allocations: 0 / 446.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.102, allocations: 11.88 kB / 446.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.1021, allocations: 0 / 446.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.1021, allocations: 0 / 446.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.1021, allocations: 0 / 446.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.1027, allocations: 403.2 kB / 446.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.1027, allocations: 0 / 446.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.1027, allocations: 0 / 446.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1032, allocations: 303.5 kB / 447.1 MB, free: 288 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1032, allocations: 3.938 kB / 447.1 MB, free: 284 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1032, allocations: 4 kB / 447.1 MB, free: 280 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1032, allocations: 0 / 447.1 MB, free: 280 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.000345/0.1036, allocations: 389.2 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1036, allocations: 15.89 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.1037, allocations: 34.73 kB / 447.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.1037, allocations: 0.9375 kB / 447.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.1038, allocations: 164.3 kB / 447.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1038, allocations: 384 / 447.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.1038, allocations: 384 / 447.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.1039, allocations: 37.64 kB / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1039, allocations: 0 / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1039, allocations: 0 / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1039, allocations: 0 / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.104, allocations: 7.984 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.1041, allocations: 145.7 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.1042, allocations: 22.55 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.1042, allocations: 4.859 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1042, allocations: 7.938 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.1042, allocations: 56.27 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.605e-06/0.1042, allocations: 3.938 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.1044, allocations: 71.39 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1045, allocations: 77.11 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.19e-05/0.1045, allocations: 89.86 kB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1046, allocations: 29.7 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.1046, allocations: 84.27 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.1046, allocations: 4.219 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1047, allocations: 9.719 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1048, allocations: 322.8 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1048, allocations: 0 / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.1048, allocations: 0 / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.1048, allocations: 60.27 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1049, allocations: 4 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.121e-05/0.1049, allocations: 67.41 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.105, allocations: 33.69 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.105, allocations: 0 / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.105, allocations: 0 / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.105, allocations: 0 / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.105, allocations: 7.938 kB / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.105, allocations: 3.938 kB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1051, allocations: 0 / 448.8 MB, free: 14.27 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 7.934e-05/0.1051, allocations: 143.5 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1052, allocations: 7.938 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.838e-06/0.1052, allocations: 3.125 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1052, allocations: 0 / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.1052, allocations: 3.984 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1052, allocations: 0 / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.1053, allocations: 145.7 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1053, allocations: 0 / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-06/0.1053, allocations: 3.938 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1053, allocations: 0 / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1053, allocations: 0 / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1053, allocations: 4 kB / 449.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1053, allocations: 0 / 449.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.1054, allocations: 90.83 kB / 449.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1055, allocations: 81.05 kB / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1055, allocations: 0 / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.1055, allocations: 11.92 kB / 449.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.1055, allocations: 3.938 kB / 449.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1055, allocations: 8.016 kB / 449.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.1055, allocations: 79.28 kB / 449.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1055, allocations: 0 / 449.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.1059, allocations: 67.92 kB / 449.5 MB, free: 13.52 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.000627/0.1065, allocations: 0.7072 MB / 450.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.1066, allocations: 59.39 kB / 450.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1066, allocations: 7.938 kB / 450.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.652e-05/0.1067, allocations: 51.41 kB / 450.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1068, allocations: 10.97 kB / 450.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.1071, allocations: 134.6 kB / 450.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1074, allocations: 0.669 MB / 451.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.1074, allocations: 7.922 kB / 451.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.1074, allocations: 7.438 kB / 451.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1074, allocations: 0 / 451.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1272, allocations: 2.499 MB / 453.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.844, allocations: 3.859 kB / 453.6 MB, free: 9.266 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestPolynomials.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1)