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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 189.2 kB / 24.51 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 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.2406/0.2406, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 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.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=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 0.002081/0.002081, allocations: 63.89 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4219, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00173/0.4236, allocations: 0.5005 MB / 0.5493 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.4265, allocations: 1.779 MB / 0.551 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.4265, allocations: 1.125 kB / 0.551 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.4265, allocations: 0 / 0.551 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.4265, allocations: 0 / 0.551 GB, free: 11.36 MB / 398.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.001194/0.4277, allocations: 251.2 kB / 0.5513 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.4278, allocations: 9.375 kB / 0.5513 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.4278, allocations: 1.531 kB / 0.5513 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.4278, allocations: 1.469 kB / 0.5513 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.4278, allocations: 7.969 kB / 0.5513 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-06/0.4279, allocations: 0 / 0.5513 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.4288, allocations: 0.4999 MB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.4288, allocations: 4 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.4288, allocations: 1.094 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.4295, allocations: 312.3 kB / 0.5521 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4295, allocations: 1.031 kB / 0.5521 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4295, allocations: 0 / 0.5521 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4295, allocations: 0 / 0.5521 GB, free: 10.71 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.0004812/0.43, allocations: 316.4 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.43, allocations: 14.11 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.43, allocations: 0.9375 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.4301, allocations: 107.9 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4302, allocations: 1.625 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.4302, allocations: 1.656 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4303, allocations: 39.39 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4303, allocations: 1.344 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4303, allocations: 0 / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4303, allocations: 0 / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.4303, allocations: 1.312 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.4305, allocations: 118.2 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.4306, allocations: 24.77 kB / 0.5527 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.4306, allocations: 10 kB / 0.5527 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.4306, allocations: 0 / 0.5527 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.4306, allocations: 61.45 kB / 0.5527 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4306, allocations: 1.062 kB / 0.5527 GB, free: 9.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001992/0.4308, allocations: 62.75 kB / 0.5528 GB, free: 9.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.4309, allocations: 90.28 kB / 0.5529 GB, free: 9.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.431, allocations: 93.8 kB / 0.553 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.431, allocations: 25.7 kB / 0.553 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.4311, allocations: 81.39 kB / 0.5531 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.4311, allocations: 0 / 0.5531 GB, free: 9.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.4311, allocations: 15.88 kB / 0.5531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4313, allocations: 311.9 kB / 0.5534 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.4313, allocations: 1.25 kB / 0.5534 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-06/0.4313, allocations: 1.125 kB / 0.5534 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.4314, allocations: 66.48 kB / 0.5535 GB, free: 9.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4314, allocations: 1.094 kB / 0.5535 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.061e-05/0.4314, allocations: 66.05 kB / 0.5535 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.4315, allocations: 35.05 kB / 0.5536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4315, allocations: 5.062 kB / 0.5536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4315, allocations: 0 / 0.5536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.4315, allocations: 0 / 0.5536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4315, allocations: 1.062 kB / 0.5536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.4315, allocations: 4.031 kB / 0.5536 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4315, allocations: 1.062 kB / 0.5536 GB, free: 9.02 MB / 398.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 0.0001271/0.4317, allocations: 141.6 kB / 0.5537 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.4317, allocations: 9.016 kB / 0.5537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.4317, allocations: 4.125 kB / 0.5537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4317, allocations: 3.984 kB / 0.5537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4317, allocations: 0 / 0.5537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4317, allocations: 1.094 kB / 0.5537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4318, allocations: 117.8 kB / 0.5538 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4318, allocations: 9.094 kB / 0.5538 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4318, allocations: 0 / 0.5538 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4318, allocations: 5.031 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4318, allocations: 0 / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4318, allocations: 1.094 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4318, allocations: 0 / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.432, allocations: 93.61 kB / 0.5539 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.432, allocations: 5.031 kB / 0.5539 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.432, allocations: 9.031 kB / 0.554 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-06/0.432, allocations: 1.062 kB / 0.554 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.432, allocations: 1.031 kB / 0.554 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.432, allocations: 1.062 kB / 0.554 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.4321, allocations: 75.28 kB / 0.554 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4321, allocations: 0 / 0.554 GB, free: 8.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.4325, allocations: 65.02 kB / 0.5541 GB, free: 8.473 MB / 398.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.0005984/0.433, allocations: 201.3 kB / 0.5543 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.4332, allocations: 57.22 kB / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4332, allocations: 0 / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.4332, allocations: 54.75 kB / 0.5544 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4333, allocations: 5.312 kB / 0.5544 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.4336, allocations: 87.88 kB / 0.5545 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4339, allocations: 0.6752 MB / 0.5551 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.292e-06/0.4339, allocations: 0 / 0.5551 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.4339, allocations: 7.438 kB / 0.5551 GB, free: 7.387 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4339, allocations: 1.281 kB / 0.5551 GB, free: 7.387 MB / 398.1 MB Notification: Performance of Templates: time 0.0053/0.4392, allocations: 1.634 MB / 0.5567 GB, free: 6.539 MB / 398.1 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: 5.300330019555986]