Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009902/0.009902, allocations: 175.9 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.937/1.937, allocations: 194.5 MB / 210.3 MB, free: 11.39 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001935/0.001935, allocations: 120.6 kB / 255.6 MB, free: 14.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4972/0.4972, allocations: 40 MB / 340.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006851, allocations: 8 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3593, allocations: 54.87 MB / 461.1 MB, free: 24.51 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6521/1.011, allocations: 192.6 MB / 0.6384 GB, free: 5.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.012, allocations: 70.66 kB / 0.6385 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03348/1.045, allocations: 7.02 MB / 0.6453 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.045, allocations: 0 / 0.6453 GB, free: 15.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/1.045, allocations: 4 kB / 0.6453 GB, free: 15.66 MB / 410.7 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.0006534/1.046, allocations: 416.6 kB / 0.6457 GB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.046, allocations: 8.031 kB / 0.6458 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/1.046, allocations: 30.56 kB / 0.6458 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/1.046, allocations: 0 / 0.6458 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/1.046, allocations: 167.1 kB / 0.6459 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/1.046, allocations: 3.938 kB / 0.6459 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.046, allocations: 0 / 0.6459 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/1.047, allocations: 33.7 kB / 0.646 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.047, allocations: 0 / 0.646 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/1.047, allocations: 3.953 kB / 0.646 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.047, allocations: 0 / 0.646 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/1.047, allocations: 0 / 0.646 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/1.047, allocations: 144.8 kB / 0.6461 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/1.047, allocations: 26.53 kB / 0.6461 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/1.047, allocations: 3.984 kB / 0.6461 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/1.047, allocations: 60.27 kB / 0.6462 GB, free: 14.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/1.047, allocations: 0 / 0.6462 GB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002342/1.047, allocations: 63.03 kB / 0.6463 GB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/1.047, allocations: 86.39 kB / 0.6463 GB, free: 14.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/1.047, allocations: 92.94 kB / 0.6464 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.047, allocations: 25.7 kB / 0.6465 GB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/1.048, allocations: 80.14 kB / 0.6465 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/1.048, allocations: 0 / 0.6465 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/1.048, allocations: 4.125 kB / 0.6465 GB, free: 14.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/1.048, allocations: 310.8 kB / 0.6468 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/1.048, allocations: 0 / 0.6468 GB, free: 13.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/1.048, allocations: 7.938 kB / 0.6468 GB, free: 13.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/1.048, allocations: 29.27 kB / 0.6469 GB, free: 13.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.048, allocations: 0 / 0.6469 GB, free: 13.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/1.048, allocations: 63.39 kB / 0.6469 GB, free: 13.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/1.048, allocations: 32.83 kB / 0.647 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.048, allocations: 96 / 0.647 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.048, allocations: 4 kB / 0.647 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/1.048, allocations: 4 kB / 0.647 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.048, allocations: 0 / 0.647 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/1.048, allocations: 0 / 0.647 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.048, allocations: 7.891 kB / 0.647 GB, free: 13.75 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.048, allocations: 138.6 kB / 0.6471 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/1.048, allocations: 3.625 kB / 0.6471 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/1.048, allocations: 7.109 kB / 0.6471 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.048, allocations: 0 / 0.6471 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.048, allocations: 4 kB / 0.6471 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.048, allocations: 0 / 0.6471 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/1.048, allocations: 153.6 kB / 0.6473 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.048, allocations: 0 / 0.6473 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/1.048, allocations: 3.938 kB / 0.6473 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.048, allocations: 0 / 0.6473 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/1.049, allocations: 0 / 0.6473 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.049, allocations: 3.984 kB / 0.6473 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.049, allocations: 0 / 0.6473 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.049, allocations: 94.42 kB / 0.6474 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/1.049, allocations: 77.11 kB / 0.6474 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/1.049, allocations: 7.984 kB / 0.6474 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/1.049, allocations: 0 / 0.6474 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/1.049, allocations: 3.984 kB / 0.6475 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/1.049, allocations: 0 / 0.6475 GB, free: 13.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.01e-05/1.049, allocations: 75.28 kB / 0.6475 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.049, allocations: 0 / 0.6475 GB, free: 13.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005661/1.049, allocations: 91.45 kB / 0.6476 GB, free: 13 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009768/1.05, allocations: 0.7308 MB / 0.6483 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/1.051, allocations: 63.39 kB / 0.6484 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.051, allocations: 0 / 0.6484 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/1.051, allocations: 59.22 kB / 0.6484 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/1.051, allocations: 0 / 0.6484 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/1.051, allocations: 148.2 kB / 0.6486 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/1.051, allocations: 0.6731 MB / 0.6492 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.6e-06/1.051, allocations: 0 / 0.6492 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/1.052, allocations: 15.56 kB / 0.6493 GB, free: 11.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.845e-06/1.052, allocations: 0 / 0.6493 GB, free: 11.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/1.078, allocations: 2.423 MB / 0.6516 GB, free: 8.832 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/1.079, allocations: 206.7 kB / 0.6518 GB, free: 8.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.713, allocations: 0 / 0.6518 GB, free: 8.59 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat