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.00164/0.00164, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001646/0.001646, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2397/0.2397, allocations: 46.94 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 179] 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.0024/0.0024, allocations: 79.84 kB / 0.4974 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3847, allocations: 66.07 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001792/0.3865, allocations: 0.4926 MB / 0.5624 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3893, allocations: 1.824 MB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.3893, allocations: 3.938 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.3893, allocations: 0 / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.3893, allocations: 0 / 0.5642 GB, free: 1.922 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.001091/0.3904, allocations: 255.2 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.3905, allocations: 0 / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3905, allocations: 4 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.3905, allocations: 3.938 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.709e-05/0.3906, allocations: 0 / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.3906, allocations: 0 / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008824/0.3915, allocations: 0.5068 MB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.3915, allocations: 0 / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3915, allocations: 4 kB / 0.565 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.392, allocations: 309.9 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.392, allocations: 3.938 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.392, allocations: 7.922 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.392, allocations: 0 / 0.5653 GB, free: 0.8438 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.0004427/0.3924, allocations: 311.6 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3925, allocations: 12.03 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3925, allocations: 0.9375 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.3926, allocations: 102.5 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.3926, allocations: 384 / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3926, allocations: 8.375 kB / 0.5657 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.3927, allocations: 35.02 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3927, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3927, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3927, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.3927, allocations: 4 kB / 0.5657 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.3929, allocations: 116.8 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.266e-05/0.3929, allocations: 26.55 kB / 0.5659 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.3929, allocations: 8.844 kB / 0.5659 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3929, allocations: 0 / 0.5659 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.393, allocations: 60.2 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.393, allocations: 0 / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002291/0.3932, allocations: 67.45 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.3933, allocations: 81.11 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.466e-05/0.3934, allocations: 101.7 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3934, allocations: 29.83 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.3935, allocations: 80.14 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3935, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.3935, allocations: 17.72 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3936, allocations: 318.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.3936, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.3937, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.3937, allocations: 64.33 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3937, allocations: 0 / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.199e-05/0.3938, allocations: 71.33 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.3938, allocations: 35.98 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3938, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3938, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3938, allocations: 4 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3939, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.3939, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3939, allocations: 0 / 0.5668 GB, free: 15.09 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 9.795e-05/0.394, allocations: 148.4 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.394, allocations: 3.938 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.081e-05/0.394, allocations: 3 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.394, allocations: 3.984 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.394, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.394, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3941, allocations: 120.8 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3941, allocations: 3.984 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3941, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3941, allocations: 3.938 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3941, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3941, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3941, allocations: 4 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.3942, allocations: 90.77 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.3942, allocations: 4 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3942, allocations: 3.938 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.3942, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.3943, allocations: 4.031 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3943, allocations: 7.938 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.3943, allocations: 75.28 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3943, allocations: 4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3946, allocations: 63.8 kB / 0.5673 GB, free: 14.47 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.0004751/0.3951, allocations: 192.9 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3952, allocations: 55.41 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3952, allocations: 0 / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.3952, allocations: 59.34 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.3954, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.3956, allocations: 88.98 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3959, allocations: 0.669 MB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.3959, allocations: 4.125 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.3959, allocations: 7.438 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3959, allocations: 0 / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004843/0.4007, allocations: 1.628 MB / 0.5699 GB, free: 11.69 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/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: 5.113838102668524]