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: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001317, allocations: 108.9 kB / 16.41 MB, free: 6.488 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.002066/0.002066, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.533/1.533, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2401/0.2401, allocations: 43.53 MB / 314.1 MB, free: 460 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.001363/0.001363, allocations: 67.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002539/0.1481, allocations: 0.4946 MB / 0.4884 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.155, allocations: 5.069 MB / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.1551, allocations: 0 / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1551, allocations: 3.938 kB / 0.4933 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.1552, allocations: 4 kB / 0.4933 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1563, allocations: 231.2 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.1564, allocations: 0 / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.1565, allocations: 4 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.1565, allocations: 0 / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.447e-05/0.1565, allocations: 0 / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.1565, allocations: 0 / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006953/0.1572, allocations: 411.2 kB / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.1573, allocations: 0 / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1573, allocations: 11.92 kB / 0.4939 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.1577, allocations: 303.4 kB / 0.4942 GB, free: 5.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1577, allocations: 0 / 0.4942 GB, free: 5.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1577, allocations: 4 kB / 0.4942 GB, free: 5.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1578, allocations: 0 / 0.4942 GB, free: 5.273 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.0004585/0.1582, allocations: 385.2 kB / 0.4946 GB, free: 4.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1583, allocations: 15.88 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1583, allocations: 0.9375 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1584, allocations: 160.4 kB / 0.4948 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1585, allocations: 4.375 kB / 0.4948 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1585, allocations: 4.375 kB / 0.4948 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.1586, allocations: 29.83 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1586, allocations: 0 / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1586, allocations: 0 / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1586, allocations: 0 / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.1586, allocations: 4 kB / 0.4948 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1588, allocations: 157.5 kB / 0.495 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.1588, allocations: 26.55 kB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1589, allocations: 4.859 kB / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.1589, allocations: 0 / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.159, allocations: 60.2 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.159, allocations: 0 / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001705/0.1592, allocations: 67.45 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.1593, allocations: 81.05 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.1594, allocations: 93.98 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1594, allocations: 29.7 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.1594, allocations: 84.12 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1595, allocations: 3.938 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1595, allocations: 9.719 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1596, allocations: 314.8 kB / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.1597, allocations: 3.984 kB / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.1597, allocations: 4 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.1597, allocations: 64.33 kB / 0.4958 GB, free: 3.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1597, allocations: 0 / 0.4958 GB, free: 3.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.863e-05/0.1598, allocations: 59.41 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1599, allocations: 41.56 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1599, allocations: 3.984 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.16, allocations: 0 / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.16, allocations: 4 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.16, allocations: 0 / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.16, allocations: 0 / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.16, allocations: 0 / 0.4959 GB, free: 3.32 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 9.22e-05/0.1601, allocations: 151.5 kB / 0.496 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.1601, allocations: 3.938 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-06/0.1601, allocations: 3.125 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1602, allocations: 3.984 kB / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1602, allocations: 0 / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1602, allocations: 0 / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1603, allocations: 153.7 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1603, allocations: 0 / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1603, allocations: 0 / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1603, allocations: 7.938 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1603, allocations: 3.938 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1603, allocations: 0 / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1603, allocations: 0 / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1605, allocations: 94.77 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1605, allocations: 81.05 kB / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1606, allocations: 4 kB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.1606, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1606, allocations: 8.016 kB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1606, allocations: 0 / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.1606, allocations: 75.28 kB / 0.4964 GB, free: 2.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1606, allocations: 0 / 0.4964 GB, free: 2.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.161, allocations: 64 kB / 0.4965 GB, free: 2.574 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.0004309/0.1614, allocations: 181.8 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1615, allocations: 63.39 kB / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1615, allocations: 0 / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.1616, allocations: 55.41 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.1617, allocations: 0 / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.1619, allocations: 85.02 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1621, allocations: 0.6729 MB / 0.4975 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.151e-06/0.1621, allocations: 8.062 kB / 0.4975 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.1622, allocations: 11.44 kB / 0.4975 GB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1622, allocations: 0 / 0.4975 GB, free: 1.418 MB / 382.1 MB Notification: Performance of Templates: time 0.004234/0.1664, allocations: 1.69 MB / 0.4992 GB, free: 15.73 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches