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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 109.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 187.9 kB / 22.98 MB, free: 5.062 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.506/1.506, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2298/0.2298, allocations: 44.23 MB / 330.2 MB, free: 9.539 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.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=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.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.002273/0.002273, allocations: 74.7 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1564, allocations: 61.03 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002006/0.1584, allocations: 0.4984 MB / 0.5171 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.1656, allocations: 5.142 MB / 0.5221 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.1657, allocations: 4 kB / 0.5221 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1657, allocations: 0 / 0.5221 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-06/0.1657, allocations: 0 / 0.5221 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1669, allocations: 255.2 kB / 0.5223 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.1669, allocations: 4 kB / 0.5223 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.167, allocations: 3.938 kB / 0.5223 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.167, allocations: 7.984 kB / 0.5223 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.684e-05/0.167, allocations: 0 / 0.5223 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.167, allocations: 3.938 kB / 0.5223 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.1679, allocations: 0.4951 MB / 0.5228 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1679, allocations: 0 / 0.5228 GB, free: 444 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1679, allocations: 7.984 kB / 0.5228 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1684, allocations: 311.3 kB / 0.5231 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1684, allocations: 3.938 kB / 0.5231 GB, free: 120 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1684, allocations: 0 / 0.5231 GB, free: 120 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1685, allocations: 0 / 0.5231 GB, free: 120 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.0004948/0.1689, allocations: 319.6 kB / 0.5234 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.169, allocations: 12.03 kB / 0.5235 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.169, allocations: 0.9375 kB / 0.5235 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.1691, allocations: 102.5 kB / 0.5236 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1692, allocations: 8.312 kB / 0.5236 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1692, allocations: 384 / 0.5236 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1693, allocations: 33.83 kB / 0.5236 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1693, allocations: 0 / 0.5236 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1693, allocations: 0 / 0.5236 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1693, allocations: 7.922 kB / 0.5236 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.1693, allocations: 4 kB / 0.5236 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1695, allocations: 116.8 kB / 0.5237 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.1695, allocations: 26.55 kB / 0.5237 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.1696, allocations: 4.859 kB / 0.5237 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-06/0.1696, allocations: 0 / 0.5237 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.246e-05/0.1697, allocations: 64.2 kB / 0.5238 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1697, allocations: 0 / 0.5238 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002261/0.1699, allocations: 67.45 kB / 0.5239 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.17, allocations: 81.05 kB / 0.524 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.17, allocations: 93.98 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.17, allocations: 29.7 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.1701, allocations: 80.14 kB / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1701, allocations: 0 / 0.5241 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1701, allocations: 13.72 kB / 0.5242 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1703, allocations: 318.8 kB / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.1703, allocations: 3.938 kB / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.1703, allocations: 0 / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.1704, allocations: 64.33 kB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1704, allocations: 0 / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.704e-05/0.1705, allocations: 63.41 kB / 0.5246 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.1705, allocations: 37.62 kB / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1705, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1705, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.1705, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1705, allocations: 7.984 kB / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.1705, allocations: 0 / 0.5246 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1705, allocations: 3.984 kB / 0.5246 GB, free: 14.35 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.0001001/0.1706, allocations: 139.5 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1707, allocations: 7.938 kB / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.1707, allocations: 3 kB / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1707, allocations: 3.984 kB / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1707, allocations: 0 / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1707, allocations: 0 / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1708, allocations: 116.8 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1708, allocations: 0 / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1708, allocations: 0 / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1708, allocations: 7.938 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1708, allocations: 0 / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1708, allocations: 0 / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1708, allocations: 0 / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1709, allocations: 90.83 kB / 0.525 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.1709, allocations: 11.88 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1709, allocations: 4 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.171, allocations: 4.016 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.171, allocations: 7.938 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.171, allocations: 3.938 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.171, allocations: 75.28 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.171, allocations: 0 / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.1714, allocations: 67.8 kB / 0.5252 GB, free: 13.73 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.00051/0.1719, allocations: 183.8 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.172, allocations: 63.39 kB / 0.5254 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.172, allocations: 0 / 0.5254 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.172, allocations: 51.41 kB / 0.5254 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1722, allocations: 8 kB / 0.5254 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.1724, allocations: 77.02 kB / 0.5255 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1727, allocations: 0.6729 MB / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.871e-06/0.1727, allocations: 4.125 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.1727, allocations: 7.438 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1727, allocations: 0 / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.005484/0.1782, allocations: 1.698 MB / 0.5278 GB, free: 10.89 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.309095962904394]