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: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00406/0.004067, allocations: 368.3 kB / 15.96 MB, free: 6.199 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 3.884/3.884, allocations: 388.9 MB / 405.6 MB, free: 48.64 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003515/0.003514, allocations: 224.8 kB / 451 MB, free: 3.117 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.758/0.758, allocations: 80.01 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006984/0.0006989, allocations: 8 kB / 0.6265 GB, free: 4.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1244, allocations: 54.89 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006753/0.1252, allocations: 212.7 kB / 0.6803 GB, free: 13.33 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.1336, allocations: 4.633 MB / 0.6848 GB, free: 8.664 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.1337, allocations: 4 kB / 0.6848 GB, free: 8.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.1337, allocations: 0 / 0.6848 GB, free: 8.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.524e-06/0.1337, allocations: 0 / 0.6848 GB, free: 8.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1348, allocations: 187.5 kB / 0.685 GB, free: 8.477 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.068e-05/0.1349, allocations: 0 / 0.685 GB, free: 8.477 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1349, allocations: 4 kB / 0.685 GB, free: 8.473 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.135, allocations: 3.938 kB / 0.685 GB, free: 8.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.032e-05/0.135, allocations: 3.984 kB / 0.685 GB, free: 8.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.135, allocations: 0 / 0.685 GB, free: 8.465 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009182/0.136, allocations: 371.3 kB / 0.6854 GB, free: 8.102 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.136, allocations: 7.984 kB / 0.6854 GB, free: 8.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.136, allocations: 25.7 kB / 0.6854 GB, free: 8.062 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.1365, allocations: 203.7 kB / 0.6856 GB, free: 7.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1365, allocations: 0 / 0.6856 GB, free: 7.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1365, allocations: 3.938 kB / 0.6856 GB, free: 7.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1366, allocations: 0 / 0.6856 GB, free: 7.859 MB / 394.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.000444/0.137, allocations: 385 kB / 0.686 GB, free: 7.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1371, allocations: 8.031 kB / 0.686 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.1371, allocations: 3.938 kB / 0.686 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1372, allocations: 163 kB / 0.6861 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1373, allocations: 4 kB / 0.6861 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1373, allocations: 0 / 0.6861 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.1374, allocations: 33.69 kB / 0.6862 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1374, allocations: 0 / 0.6862 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1374, allocations: 0 / 0.6862 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1374, allocations: 0 / 0.6862 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.1375, allocations: 8 kB / 0.6862 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1376, allocations: 145.6 kB / 0.6863 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.1377, allocations: 22.52 kB / 0.6863 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.1377, allocations: 8.953 kB / 0.6864 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.1377, allocations: 0 / 0.6864 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.1378, allocations: 60.25 kB / 0.6864 GB, free: 6.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.1378, allocations: 0 / 0.6864 GB, free: 6.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.138, allocations: 63.41 kB / 0.6865 GB, free: 6.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.138, allocations: 77.11 kB / 0.6865 GB, free: 6.691 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.1381, allocations: 101.9 kB / 0.6866 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1381, allocations: 25.7 kB / 0.6867 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.1382, allocations: 80.14 kB / 0.6867 GB, free: 6.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1382, allocations: 7.906 kB / 0.6868 GB, free: 6.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1382, allocations: 0 / 0.6868 GB, free: 6.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1384, allocations: 318.8 kB / 0.6871 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.1384, allocations: 0 / 0.6871 GB, free: 6.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.1384, allocations: 0 / 0.6871 GB, free: 6.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.1384, allocations: 33.77 kB / 0.6871 GB, free: 6.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1385, allocations: 0 / 0.6871 GB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.986e-05/0.1386, allocations: 63.36 kB / 0.6872 GB, free: 6.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.1386, allocations: 37.59 kB / 0.6872 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1386, allocations: 0 / 0.6872 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1386, allocations: 7.922 kB / 0.6872 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.1387, allocations: 0 / 0.6872 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1387, allocations: 0 / 0.6872 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.1387, allocations: 4 kB / 0.6872 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1387, allocations: 0 / 0.6872 GB, free: 5.973 MB / 394.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 9.942e-05/0.1388, allocations: 143.5 kB / 0.6873 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1389, allocations: 7.953 kB / 0.6873 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.1389, allocations: 3.125 kB / 0.6873 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1389, allocations: 0 / 0.6873 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1389, allocations: 0 / 0.6873 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.139, allocations: 81.09 kB / 0.6874 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.139, allocations: 0 / 0.6874 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.139, allocations: 4 kB / 0.6874 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.139, allocations: 0 / 0.6874 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001518/0.1392, allocations: 198.1 kB / 0.6876 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001748/0.1394, allocations: 240.4 kB / 0.6878 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.097e-05/0.1394, allocations: 0 / 0.6878 GB, free: 5.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.1394, allocations: 75.28 kB / 0.6879 GB, free: 5.152 MB / 394.7 MB Notification: Performance of Backend: time 8.01e-07/0.1395, allocations: 0 / 0.6879 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1405, allocations: 253.9 kB / 0.6882 GB, free: 4.883 MB / 394.7 MB Notification: Performance of SimCode: time 0.0004133/0.141, allocations: 0.5736 MB / 0.6887 GB, free: 4.254 MB / 394.7 MB Notification: Performance of Templates: time 0.007426/0.1484, allocations: 1.99 MB / 0.6907 GB, free: 2.262 MB / 394.7 MB