Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001659/0.001659, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.62 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09657, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001774/0.09837, allocations: 0.5411 MB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1008, allocations: 1.766 MB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.1008, allocations: 3.938 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.1008, allocations: 0 / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.299e-06/0.1009, allocations: 0 / 471.5 MB, free: 12.51 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.0008387/0.1017, allocations: 191.5 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.623e-05/0.1018, allocations: 4 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.1018, allocations: 4 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.1018, allocations: 0 / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.967e-05/0.1019, allocations: 7.969 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.1019, allocations: 0 / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.1025, allocations: 391.3 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.1025, allocations: 3.984 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.1025, allocations: 3.938 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1029, allocations: 203.7 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1029, allocations: 4 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1029, allocations: 0 / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1029, allocations: 0 / 472.3 MB, free: 11.71 MB / 350.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.0003915/0.1033, allocations: 381.3 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1034, allocations: 15.97 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.1034, allocations: 4.875 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/0.1035, allocations: 164.4 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1035, allocations: 384 / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.1036, allocations: 384 / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/0.1036, allocations: 38.02 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1037, allocations: 0 / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1037, allocations: 0 / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1037, allocations: 0 / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.1037, allocations: 4 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.1038, allocations: 149.7 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.1039, allocations: 18.52 kB / 473 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.1039, allocations: 8.953 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.1039, allocations: 4 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.104, allocations: 60.2 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.104, allocations: 0 / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.1042, allocations: 67.39 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1042, allocations: 81.05 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.1043, allocations: 89.86 kB / 473.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1043, allocations: 29.7 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.1043, allocations: 84.27 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1044, allocations: 0 / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1044, allocations: 13.66 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1045, allocations: 314.8 kB / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1045, allocations: 0 / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.1045, allocations: 0 / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.1046, allocations: 68.25 kB / 473.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1046, allocations: 0 / 473.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.721e-05/0.1047, allocations: 63.47 kB / 473.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1047, allocations: 33.64 kB / 473.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1047, allocations: 4 kB / 473.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1048, allocations: 3.938 kB / 473.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1048, allocations: 0 / 473.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1048, allocations: 7.969 kB / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1048, allocations: 4 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1048, allocations: 0 / 474 MB, free: 9.762 MB / 350.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.223e-05/0.1049, allocations: 143.5 kB / 474.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1049, allocations: 7.938 kB / 474.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-06/0.1049, allocations: 3.125 kB / 474.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1049, allocations: 0 / 474.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1049, allocations: 0 / 474.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.105, allocations: 0 / 474.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/0.105, allocations: 145.7 kB / 474.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1051, allocations: 4 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.1051, allocations: 0 / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1051, allocations: 3.938 kB / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1051, allocations: 0 / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1051, allocations: 4 kB / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1051, allocations: 0 / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.659e-05/0.1052, allocations: 98.67 kB / 474.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.1052, allocations: 77.11 kB / 474.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1052, allocations: 3.938 kB / 474.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.1053, allocations: 4 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.1053, allocations: 0 / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1053, allocations: 4.031 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.1053, allocations: 75.28 kB / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1053, allocations: 0 / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.1057, allocations: 67.98 kB / 474.6 MB, free: 9.023 MB / 350.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.000423/0.1061, allocations: 193.6 kB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.1062, allocations: 67.39 kB / 474.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1062, allocations: 3.938 kB / 474.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.1062, allocations: 51.41 kB / 474.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1064, allocations: 4.281 kB / 474.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.1065, allocations: 104.4 kB / 475 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1068, allocations: 0.6731 MB / 475.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.1068, allocations: 7.438 kB / 475.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1068, allocations: 4.125 kB / 475.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Templates: time 0.003291/0.1101, allocations: 1.498 MB / 477.2 MB, free: 6.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches