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.001842/0.001842, allocations: 106 kB / 16.41 MB, free: 6.508 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.002039/0.002039, 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.44/1.44, 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.2285/0.2285, allocations: 43.53 MB / 314.1 MB, free: 448 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.00208/0.00208, allocations: 65.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.127, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001779/0.1288, allocations: 0.4948 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006936/0.1358, allocations: 5.069 MB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.1358, allocations: 3.938 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1359, allocations: 4 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1359, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.137, allocations: 227.3 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.1371, allocations: 3.984 kB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.1372, allocations: 4 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1372, allocations: 0 / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.1372, allocations: 0 / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1372, allocations: 4 kB / 0.4931 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.1379, allocations: 411.2 kB / 0.4934 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.138, allocations: 0 / 0.4934 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.138, allocations: 4 kB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.1385, allocations: 307.2 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1385, allocations: 4 kB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1385, allocations: 4 kB / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1385, allocations: 0 / 0.4937 GB, free: 5.75 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.0004728/0.139, allocations: 388.2 kB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1391, allocations: 15.89 kB / 0.4941 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.1391, allocations: 30.75 kB / 0.4942 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.1392, allocations: 0.9375 kB / 0.4942 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1393, allocations: 164.4 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1393, allocations: 8.359 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1393, allocations: 4.312 kB / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.1394, allocations: 29.64 kB / 0.4944 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1394, allocations: 0 / 0.4944 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1395, allocations: 4 kB / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1395, allocations: 3.938 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.1395, allocations: 7.984 kB / 0.4944 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1397, allocations: 141.7 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.1397, allocations: 18.61 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.1397, allocations: 12.8 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1398, allocations: 3.938 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.1398, allocations: 60.33 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1398, allocations: 4 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.14, allocations: 59.39 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.1401, allocations: 81.11 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.1402, allocations: 89.86 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1402, allocations: 29.7 kB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1402, allocations: 80.14 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1403, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1403, allocations: 13.72 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1405, allocations: 319 kB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.1405, allocations: 3.938 kB / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.1405, allocations: 0 / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.1406, allocations: 60.27 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1406, allocations: 0 / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.062e-05/0.1407, allocations: 67.34 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.1407, allocations: 33.69 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1407, allocations: 0 / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1407, allocations: 4.094 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1408, allocations: 4 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1408, allocations: 3.984 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.1408, allocations: 0 / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1408, allocations: 4 kB / 0.4954 GB, free: 3.758 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 0.00011/0.1409, allocations: 147.4 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.141, allocations: 3.938 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.649e-06/0.141, allocations: 3.125 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.141, allocations: 3.984 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.141, allocations: 4 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.141, allocations: 0 / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1411, allocations: 149.7 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/0.1411, allocations: 0 / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.1411, allocations: 7.875 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1411, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1412, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1412, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1412, allocations: 4 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1413, allocations: 90.83 kB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1413, allocations: 81.05 kB / 0.4959 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1414, allocations: 7.984 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1414, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.1414, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1414, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.1414, allocations: 79.22 kB / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1415, allocations: 0 / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1418, allocations: 71.8 kB / 0.496 GB, free: 3.012 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.0008304/0.1426, allocations: 0.7063 MB / 0.4967 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1428, allocations: 71.42 kB / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1428, allocations: 0 / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.1428, allocations: 59.34 kB / 0.4969 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.143, allocations: 0 / 0.4969 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.1433, allocations: 142.3 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1437, allocations: 0.669 MB / 0.4976 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.454e-06/0.1437, allocations: 3.984 kB / 0.4977 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.1437, allocations: 7.438 kB / 0.4977 GB, free: 1.234 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1437, allocations: 4.125 kB / 0.4977 GB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1704, allocations: 2.514 MB / 0.5001 GB, free: 14.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.257, allocations: 8 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 & /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)