Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00789/0.00789, allocations: 105.1 kB / 21.98 MB, free: 5.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 224.2 kB / 25.31 MB, free: 3.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.3 MB / 258.7 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2301/0.2301, allocations: 46.94 MB / 362.1 MB, free: 4.426 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 79.88 kB / 0.4979 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.345, allocations: 66.03 MB / 0.5624 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001637/0.3467, allocations: 0.4964 MB / 0.5628 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3493, allocations: 1.824 MB / 0.5646 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.3493, allocations: 0 / 0.5646 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.3493, allocations: 0 / 0.5646 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.3493, allocations: 0 / 0.5646 GB, free: 2.227 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:120:3-169:18:writable] Warning: Pure function 'ModelicaTest.Math.Polynomials' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3504, allocations: 255.2 kB / 0.5649 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.636e-05/0.3505, allocations: 3.938 kB / 0.5649 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3505, allocations: 11.94 kB / 0.5649 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.3505, allocations: 0 / 0.5649 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.479e-05/0.3505, allocations: 0 / 0.5649 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.3505, allocations: 0 / 0.5649 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.3514, allocations: 0.5029 MB / 0.5654 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.3514, allocations: 0 / 0.5654 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.3515, allocations: 4 kB / 0.5654 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3519, allocations: 313.7 kB / 0.5657 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.352, allocations: 4 kB / 0.5657 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.352, allocations: 0 / 0.5657 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.352, allocations: 4 kB / 0.5657 GB, free: 1.145 MB / 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.0004442/0.3524, allocations: 392.6 kB / 0.5661 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3524, allocations: 8.031 kB / 0.5661 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.3525, allocations: 0.9375 kB / 0.5661 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3526, allocations: 164.4 kB / 0.5662 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3526, allocations: 384 / 0.5662 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3526, allocations: 384 / 0.5662 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.3527, allocations: 39.02 kB / 0.5663 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3527, allocations: 0 / 0.5663 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3527, allocations: 4 kB / 0.5663 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3527, allocations: 3.984 kB / 0.5663 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.3528, allocations: 4 kB / 0.5663 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3529, allocations: 141.7 kB / 0.5664 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.353, allocations: 18.52 kB / 0.5664 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.353, allocations: 12.95 kB / 0.5664 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.353, allocations: 0 / 0.5664 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.353, allocations: 64.2 kB / 0.5665 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.353, allocations: 3.938 kB / 0.5665 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001691/0.3532, allocations: 63.39 kB / 0.5666 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3533, allocations: 81.05 kB / 0.5666 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.3533, allocations: 93.81 kB / 0.5667 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3534, allocations: 29.7 kB / 0.5668 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.3534, allocations: 84.14 kB / 0.5668 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3534, allocations: 0 / 0.5668 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3535, allocations: 13.84 kB / 0.5669 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3536, allocations: 314.8 kB / 0.5672 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.3536, allocations: 4 kB / 0.5672 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.3536, allocations: 0 / 0.5672 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.3537, allocations: 60.27 kB / 0.5672 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3537, allocations: 0 / 0.5672 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.386e-05/0.3538, allocations: 67.39 kB / 0.5673 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.3538, allocations: 32.14 kB / 0.5673 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3538, allocations: 15.81 kB / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3538, allocations: 0 / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3538, allocations: 0 / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.3538, allocations: 0 / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.3538, allocations: 4 kB / 0.5673 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.3539, allocations: 0 / 0.5673 GB, free: 15.19 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 8.266e-05/0.3539, allocations: 132.4 kB / 0.5675 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3539, allocations: 4 kB / 0.5675 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.354, allocations: 10.92 kB / 0.5675 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.354, allocations: 4 kB / 0.5675 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.354, allocations: 0 / 0.5675 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.354, allocations: 77.11 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.354, allocations: 0 / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.354, allocations: 4 kB / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.354, allocations: 7.984 kB / 0.5676 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001357/0.3542, allocations: 194.1 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001589/0.3543, allocations: 244.5 kB / 0.568 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.974e-05/0.3544, allocations: 11.98 kB / 0.568 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.1e-05/0.3544, allocations: 75.28 kB / 0.5681 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Backend: time 2.1e-07/0.3544, allocations: 0 / 0.5681 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.3551, allocations: 236 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004207/0.3555, allocations: 0.5872 MB / 0.5689 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005158/0.3607, allocations: 1.971 MB / 0.5708 GB, free: 11.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.963758575031534]