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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002666/0.002666, allocations: 219.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2445/0.2445, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 71.89 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1524, allocations: 61.04 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00187/0.1543, allocations: 0.491 MB / 0.5171 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.162, allocations: 4.714 MB / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.162, allocations: 0 / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1621, allocations: 0 / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.013e-05/0.1621, allocations: 4 kB / 0.5217 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1633, allocations: 255.2 kB / 0.522 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.1634, allocations: 7.984 kB / 0.522 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1634, allocations: 0 / 0.522 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.1634, allocations: 0 / 0.522 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.354e-05/0.1635, allocations: 4 kB / 0.522 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.1635, allocations: 0 / 0.522 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.1644, allocations: 451.1 kB / 0.5224 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.1644, allocations: 0 / 0.5224 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.1644, allocations: 7.938 kB / 0.5224 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.165, allocations: 299.2 kB / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.165, allocations: 0 / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.165, allocations: 0 / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.165, allocations: 0 / 0.5227 GB, free: 448 kB / 398.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.000457/0.1654, allocations: 319.5 kB / 0.523 GB, free: 92 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1655, allocations: 8.031 kB / 0.523 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1655, allocations: 4.938 kB / 0.523 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1657, allocations: 106.5 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1657, allocations: 4.375 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1657, allocations: 384 / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1659, allocations: 59.53 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1659, allocations: 7.938 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1659, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1659, allocations: 3.938 kB / 0.5232 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.022e-05/0.166, allocations: 25.7 kB / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1661, allocations: 105.3 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.1662, allocations: 44.28 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1663, allocations: 38.66 kB / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1663, allocations: 0 / 0.5234 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.1663, allocations: 56.27 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.1663, allocations: 0 / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003313/0.1667, allocations: 122.7 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.1668, allocations: 81.11 kB / 0.5236 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1669, allocations: 93.86 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1669, allocations: 25.7 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.1669, allocations: 80.27 kB / 0.5238 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.167, allocations: 4 kB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.167, allocations: 13.72 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.1673, allocations: 310.8 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.1673, allocations: 29.69 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.1674, allocations: 29.7 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.1675, allocations: 68.2 kB / 0.5243 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1675, allocations: 0 / 0.5243 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.1676, allocations: 85.09 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1676, allocations: 33.7 kB / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1676, allocations: 8.031 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1676, allocations: 0 / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.1676, allocations: 3.938 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1676, allocations: 0 / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.1677, allocations: 4 kB / 0.5244 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1677, allocations: 0 / 0.5244 GB, free: 14.42 MB / 414.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 0.0001046/0.1678, allocations: 135.5 kB / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.1678, allocations: 11.98 kB / 0.5245 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.1678, allocations: 10.92 kB / 0.5245 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1678, allocations: 0 / 0.5245 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1678, allocations: 4 kB / 0.5245 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1678, allocations: 0 / 0.5245 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.1679, allocations: 93.33 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1679, allocations: 4 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1679, allocations: 0 / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.1679, allocations: 0 / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1679, allocations: 3.938 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1679, allocations: 3.938 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1679, allocations: 0 / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.1681, allocations: 116.5 kB / 0.5248 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.1681, allocations: 11.97 kB / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1681, allocations: 0 / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.1681, allocations: 7.922 kB / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.1681, allocations: 0 / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1681, allocations: 0 / 0.5248 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.1682, allocations: 83.28 kB / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1682, allocations: 0 / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1685, allocations: 63.8 kB / 0.5249 GB, free: 13.8 MB / 414.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.0005115/0.169, allocations: 191.5 kB / 0.5251 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1692, allocations: 118.7 kB / 0.5252 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1692, allocations: 0 / 0.5252 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.1692, allocations: 81.11 kB / 0.5253 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1694, allocations: 4 kB / 0.5253 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.1697, allocations: 106.7 kB / 0.5254 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.1697, allocations: 51.36 kB / 0.5254 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.025e-06/0.1697, allocations: 4.125 kB / 0.5254 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.1698, allocations: 7.438 kB / 0.5255 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1698, allocations: 4 kB / 0.5255 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.005633/0.1754, allocations: 1.679 MB / 0.5271 GB, free: 11.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.713772272691131]