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.001559/0.001559, allocations: 102.3 kB / 16.4 MB, free: 6.453 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.001848/0.001848, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2081/0.2081, allocations: 43.52 MB / 314.1 MB, free: 444 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.001586/0.001587, allocations: 73.62 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0016/0.1104, allocations: 0.4946 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1165, allocations: 5.065 MB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.1165, allocations: 3.938 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.1165, allocations: 4 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.1166, allocations: 0 / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.1175, allocations: 231.2 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.1176, allocations: 4 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.1176, allocations: 0 / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1176, allocations: 4 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.82e-05/0.1176, allocations: 3.984 kB / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-06/0.1176, allocations: 0 / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1182, allocations: 407.2 kB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.1183, allocations: 4 kB / 0.4934 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.1183, allocations: 7.922 kB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1187, allocations: 307.4 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1187, allocations: 0 / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1187, allocations: 0 / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1188, allocations: 0 / 0.4937 GB, free: 5.746 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.00037/0.1191, allocations: 393.5 kB / 0.4941 GB, free: 5.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1192, allocations: 11.89 kB / 0.4941 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.1192, allocations: 30.75 kB / 0.4942 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.1192, allocations: 4.938 kB / 0.4942 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.1193, allocations: 160.4 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1193, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1193, allocations: 384 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.1194, allocations: 33.64 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1194, allocations: 0 / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1195, allocations: 7.984 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1195, allocations: 7.922 kB / 0.4944 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.1195, allocations: 3.938 kB / 0.4944 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.1196, allocations: 153.6 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.1197, allocations: 14.58 kB / 0.4945 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.1197, allocations: 4.859 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1197, allocations: 8.031 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1197, allocations: 60.27 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1197, allocations: 0 / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1199, allocations: 75.31 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.12, allocations: 77.11 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.25e-05/0.12, allocations: 89.86 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.12, allocations: 25.7 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.12, allocations: 80.14 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1201, allocations: 0 / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1201, allocations: 21.83 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1202, allocations: 314.8 kB / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.1202, allocations: 0 / 0.4952 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.1202, allocations: 4 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.1203, allocations: 60.27 kB / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1203, allocations: 0 / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.417e-05/0.1204, allocations: 67.27 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.1204, allocations: 33.7 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1204, allocations: 4.094 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1204, allocations: 0 / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1204, allocations: 0 / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1205, allocations: 0 / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.1205, allocations: 4 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1205, allocations: 7.938 kB / 0.4954 GB, free: 3.742 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 8.23e-05/0.1206, allocations: 139.5 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.1206, allocations: 3.938 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-06/0.1206, allocations: 7.109 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1206, allocations: 8 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1206, allocations: 0 / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1206, allocations: 0 / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.648e-05/0.1207, allocations: 141.7 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1207, allocations: 0 / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.1207, allocations: 7.875 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1207, allocations: 0 / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1208, allocations: 4 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1208, allocations: 3.984 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1208, allocations: 0 / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.1209, allocations: 94.78 kB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1209, allocations: 81.05 kB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1209, allocations: 3.984 kB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.1209, allocations: 0 / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.1209, allocations: 0 / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.121, allocations: 4 kB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.121, allocations: 75.28 kB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.121, allocations: 32 / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1213, allocations: 71.98 kB / 0.496 GB, free: 3.004 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.0006271/0.1219, allocations: 0.7065 MB / 0.4967 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.122, 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.973e-06/0.122, allocations: 0 / 0.4968 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.1221, 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.0001146/0.1222, allocations: 3.797 kB / 0.4968 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.1225, allocations: 142.5 kB / 0.497 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1227, allocations: 0.6768 MB / 0.4976 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.1227, allocations: 128 / 0.4976 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.1227, allocations: 11.44 kB / 0.4976 GB, free: 1.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1228, allocations: 0 / 0.4976 GB, free: 1.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1398, allocations: 2.522 MB / 0.5001 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.938, 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 & /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)