Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003203/0.003203, allocations: 195.4 kB / 7.462 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.356/1.356, allocations: 194.2 MB / 202.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001959/0.001959, allocations: 128.2 kB / 247.1 MB, free: 6.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1937/0.1937, allocations: 39.94 MB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.573e-06/6.603e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 54.86 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5754, allocations: 191.8 MB / 0.6244 GB, free: 9.609 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.5756, allocations: 66.59 kB / 0.6245 GB, free: 9.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.02819/0.6038, allocations: 10.35 MB / 0.6346 GB, free: 1.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.6039, allocations: 0 / 0.6346 GB, free: 1.07 MB / 442.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.0004863/0.6044, allocations: 403 kB / 0.635 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6045, allocations: 8.031 kB / 0.635 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.6045, allocations: 0 / 0.635 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.6046, allocations: 163.1 kB / 0.6352 GB, free: 432 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.6046, allocations: 4 kB / 0.6352 GB, free: 428 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.6046, allocations: 4 kB / 0.6352 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.45e-05/0.6047, allocations: 0 / 0.6352 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.056e-05/0.6048, allocations: 33.61 kB / 0.6352 GB, free: 384 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6048, allocations: 7.938 kB / 0.6352 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.6048, allocations: 0 / 0.6352 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6048, allocations: 0 / 0.6352 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.605, allocations: 125.6 kB / 0.6353 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.605, allocations: 18.56 kB / 0.6353 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.6051, allocations: 8.953 kB / 0.6353 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.6051, allocations: 4 kB / 0.6354 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.6051, allocations: 57.61 kB / 0.6354 GB, free: 100 kB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.6051, allocations: 0 / 0.6354 GB, free: 100 kB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.6053, allocations: 29.7 kB / 0.6354 GB, free: 64 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.6054, allocations: 84.55 kB / 0.6355 GB, free: 15.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.6055, allocations: 88.91 kB / 0.6356 GB, free: 15.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6055, allocations: 25.7 kB / 0.6356 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.6055, allocations: 84.17 kB / 0.6357 GB, free: 15.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.6055, allocations: 4 kB / 0.6357 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6056, allocations: 0 / 0.6357 GB, free: 15.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6057, allocations: 314.8 kB / 0.636 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-06/0.6057, allocations: 0 / 0.636 GB, free: 15.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.6057, allocations: 0 / 0.636 GB, free: 15.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.6058, allocations: 7.938 kB / 0.636 GB, free: 15.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6058, allocations: 0 / 0.636 GB, free: 15.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.516e-05/0.6059, allocations: 29.7 kB / 0.636 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6059, allocations: 8.094 kB / 0.6361 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6059, allocations: 0 / 0.6361 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6059, allocations: 0 / 0.6361 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.6059, allocations: 4 kB / 0.6361 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6059, allocations: 3.906 kB / 0.6361 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.606, allocations: 7.922 kB / 0.6361 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.606, allocations: 0 / 0.6361 GB, free: 15.36 MB / 458.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 () * 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 8.342e-05/0.6061, allocations: 130.2 kB / 0.6362 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.6061, allocations: 4 kB / 0.6362 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.6061, allocations: 10.94 kB / 0.6362 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6061, allocations: 0 / 0.6362 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6061, allocations: 0 / 0.6362 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6061, allocations: 3.906 kB / 0.6362 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.6062, allocations: 130.2 kB / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6062, allocations: 4 kB / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.6062, allocations: 0 / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6063, allocations: 0 / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6063, allocations: 0 / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6063, allocations: 0 / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6063, allocations: 0 / 0.6363 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/0.6064, allocations: 68.47 kB / 0.6364 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.6064, allocations: 77.11 kB / 0.6365 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.6065, allocations: 0 / 0.6365 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-06/0.6065, allocations: 0 / 0.6365 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.6065, allocations: 4 kB / 0.6365 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.6065, allocations: 4 kB / 0.6365 GB, free: 14.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.774e-05/0.6065, allocations: 75.28 kB / 0.6366 GB, free: 14.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003986/0.6069, allocations: 90.95 kB / 0.6366 GB, free: 14.7 MB / 458.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) * 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.000572/0.6075, allocations: 208 kB / 0.6368 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.408e-05/0.6076, allocations: 33.7 kB / 0.6369 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6076, allocations: 0 / 0.6369 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.6076, allocations: 29.7 kB / 0.6369 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.02e-05/0.6077, allocations: 3.906 kB / 0.6369 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001476/0.6079, allocations: 47.92 kB / 0.637 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.6082, allocations: 0.6879 MB / 0.6376 GB, free: 13.62 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6082, allocations: 0 / 0.6376 GB, free: 13.62 MB / 458.7 MB Notification: Performance of Templates: time 0.00505/0.6133, allocations: 1.844 MB / 0.6394 GB, free: 11.79 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.pipe 2>&1)