Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001848/0.001848, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002446/0.002446, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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.619/1.619, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 46.96 MB / 360.9 MB, free: 4.059 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+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.1.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003032/0.003032, allocations: 75.88 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3901, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00189/0.392, allocations: 493.1 kB / 0.5615 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3947, allocations: 1.723 MB / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.3947, allocations: 0 / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3947, allocations: 4 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.3947, allocations: 0 / 0.5632 GB, free: 1.965 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001064/0.3958, allocations: 259.1 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.3958, allocations: 0 / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3959, allocations: 4 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.3959, allocations: 0 / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.844e-05/0.3959, allocations: 4 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.3959, allocations: 0 / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007961/0.3967, allocations: 451.1 kB / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.3967, allocations: 0 / 0.5639 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.3968, allocations: 3.938 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3972, allocations: 305.7 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3972, allocations: 0 / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3972, allocations: 0 / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3972, allocations: 0 / 0.5642 GB, free: 0.9648 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.0003996/0.3976, allocations: 319.5 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3977, allocations: 16.03 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.3977, allocations: 0.9375 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.3978, allocations: 102.5 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3978, allocations: 384 / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.3978, allocations: 384 / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.3979, allocations: 64.73 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3979, allocations: 0 / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3979, allocations: 0 / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3979, allocations: 0 / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.398, allocations: 33.64 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.3981, allocations: 97.31 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.087e-05/0.3981, allocations: 52.3 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.3982, allocations: 30.56 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.3982, allocations: 0 / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3982, allocations: 64.33 kB / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3982, allocations: 0 / 0.5649 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002083/0.3984, allocations: 122.7 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3985, allocations: 77.11 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.112e-05/0.3985, allocations: 97.81 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3985, allocations: 25.7 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3986, allocations: 84.27 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3986, allocations: 4 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.3986, allocations: 13.72 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3988, allocations: 318.8 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.3988, allocations: 25.7 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.3988, allocations: 25.7 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.3989, allocations: 68.2 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3989, allocations: 0 / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.551e-05/0.3989, allocations: 93.03 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.399, allocations: 33.7 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.399, allocations: 4.094 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.399, allocations: 7.875 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.399, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.399, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.399, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.399, allocations: 4 kB / 0.5659 GB, free: 14.94 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.255e-05/0.3991, allocations: 143.5 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.3991, allocations: 0 / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.3991, allocations: 6.938 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3991, allocations: 0 / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3991, allocations: 8 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3991, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.113e-05/0.3992, allocations: 93.33 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3992, allocations: 0 / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3992, allocations: 0 / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3992, allocations: 0 / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3992, allocations: 4 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3992, allocations: 7.922 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3992, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3993, allocations: 116.5 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.3993, allocations: 4.016 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3993, allocations: 4 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.3994, allocations: 7.938 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.3994, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3994, allocations: 0 / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.3994, allocations: 75.28 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3994, allocations: 0 / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.3997, allocations: 71.8 kB / 0.5664 GB, free: 14.33 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.0004415/0.4001, allocations: 206.1 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4003, allocations: 110.8 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4003, allocations: 3.938 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.4003, allocations: 81.11 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.4004, allocations: 3.984 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.4006, allocations: 110.7 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.4007, allocations: 55.48 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.829e-06/0.4007, allocations: 4 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.4007, allocations: 7.438 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4007, allocations: 0 / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004647/0.4053, allocations: 1.628 MB / 0.5686 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.229358134791255]