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.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.001603/0.001603, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.00167/0.00167, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3578/0.3578, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 375.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.929e-05, allocations: 10.25 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001635/0.001664, allocations: 0.4893 MB / 375.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.004656, allocations: 1.732 MB / 377.5 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.00467, allocations: 0 / 377.5 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.004684, allocations: 7.875 kB / 377.5 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.728e-06/0.004689, allocations: 0 / 377.5 MB, free: 2.773 MB / 346.7 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.00119/0.005878, allocations: 259 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.005927, allocations: 3.984 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.005958, allocations: 4 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.005985, allocations: 4 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.678e-05/0.006001, allocations: 0 / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.842e-06/0.006008, allocations: 0 / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008686/0.006877, allocations: 454.2 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.006884, allocations: 0 / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.006908, allocations: 3.984 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.007523, allocations: 343.1 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007527, allocations: 0 / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007528, allocations: 0 / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.007532, allocations: 0 / 378.5 MB, free: 1.727 MB / 346.7 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.00046/0.007992, allocations: 319.5 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.00803, allocations: 12.03 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.008072, allocations: 0.9375 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.008169, allocations: 105.8 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.008183, allocations: 4.375 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.008191, allocations: 384 / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.008289, allocations: 51.97 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.008296, allocations: 8.188 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.008304, allocations: 384 / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.00831, allocations: 3.938 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.008346, allocations: 25.7 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.008474, allocations: 101.3 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.00855, allocations: 48.2 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.008587, allocations: 34.66 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.008595, allocations: 0 / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.008649, allocations: 56.27 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00865, allocations: 0 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002253/0.008875, allocations: 126.7 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.008939, allocations: 85.05 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.009001, allocations: 89.86 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.009021, allocations: 25.7 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.009063, allocations: 80.14 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.009077, allocations: 0 / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.009116, allocations: 17.72 kB / 379.7 MB, free: 348 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.009284, allocations: 310.8 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.009327, allocations: 25.7 kB / 380 MB, free: 16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.009353, allocations: 33.69 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.009441, allocations: 64.45 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009442, allocations: 0 / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001117/0.009554, allocations: 93.05 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.009592, allocations: 33.69 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.009598, allocations: 0 / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.009615, allocations: 0 / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.009616, allocations: 0 / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.009626, allocations: 7.938 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.00964, allocations: 3.938 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.009646, allocations: 0 / 380.2 MB, free: 15.72 MB / 362.7 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.0001098/0.009756, allocations: 139.6 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.009767, allocations: 3.953 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.366e-06/0.009776, allocations: 3 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.00978, allocations: 3.984 kB / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.009784, allocations: 0 / 380.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.009791, allocations: 7.922 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.009893, allocations: 105.3 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009895, allocations: 0 / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.009895, allocations: 0 / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.009897, allocations: 0 / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.009906, allocations: 8 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.009909, allocations: 4 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.00991, allocations: 0 / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01006, allocations: 124.4 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.01007, allocations: 0 / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.01008, allocations: 0 / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.01009, allocations: 4 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.01011, allocations: 3.984 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.01011, allocations: 0 / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.01016, allocations: 79.22 kB / 380.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01016, allocations: 4.031 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.01052, allocations: 59.81 kB / 380.8 MB, free: 15.11 MB / 362.7 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.0005753/0.0111, allocations: 198.8 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01125, allocations: 118.8 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01125, allocations: 64 / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.01132, allocations: 89.05 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.01144, allocations: 0 / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.01167, allocations: 108 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.01173, allocations: 55.36 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.089e-06/0.01174, allocations: 0 / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.01175, allocations: 8.5 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01175, allocations: 0 / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of Templates: time 0.005395/0.01715, allocations: 1.677 MB / 383 MB, free: 12.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.823879751958884]