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.001714/0.001714, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.002035/0.002035, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.231/0.231, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.001968/0.001968, allocations: 63.91 kB / 0.492 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1326, allocations: 66 MB / 0.5565 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001606/0.1342, allocations: 499 kB / 0.557 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.1369, allocations: 1.801 MB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.1369, allocations: 0 / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.137, allocations: 0 / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.137, allocations: 0 / 0.5587 GB, free: 3.027 MB / 414.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.001021/0.138, allocations: 235.2 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.138, allocations: 8 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.1381, allocations: 3.984 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.1381, allocations: 0 / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.1381, allocations: 0 / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.1381, allocations: 0 / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.1388, allocations: 431.2 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.1388, allocations: 3.938 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1388, allocations: 4 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1393, allocations: 303.3 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1393, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1393, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1393, allocations: 0 / 0.5597 GB, free: 2.059 MB / 414.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.000472/0.1398, allocations: 392.7 kB / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1398, allocations: 12.03 kB / 0.5601 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1398, allocations: 0.9375 kB / 0.5601 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.14, allocations: 164.3 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.14, allocations: 4.375 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.14, allocations: 384 / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.1401, allocations: 38 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1401, allocations: 0 / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1401, allocations: 0 / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1401, allocations: 0 / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.1401, allocations: 4 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1403, allocations: 141.7 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.1403, allocations: 26.52 kB / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.1404, allocations: 8.953 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/0.1404, allocations: 3.938 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.1404, allocations: 68.17 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1404, allocations: 0 / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000186/0.1406, allocations: 59.41 kB / 0.5606 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1407, allocations: 81.11 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.1407, allocations: 101.9 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1407, allocations: 25.7 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1408, allocations: 80.14 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1408, allocations: 7.984 kB / 0.5608 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1408, allocations: 9.719 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.141, allocations: 310.8 kB / 0.5611 GB, free: 320 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.141, allocations: 4 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.141, allocations: 0 / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.141, allocations: 68.33 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.141, allocations: 0 / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.273e-05/0.1411, allocations: 59.39 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.1412, allocations: 37.64 kB / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1412, allocations: 0 / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1412, allocations: 0 / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1412, allocations: 3.938 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1412, allocations: 0 / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1412, allocations: 4 kB / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1412, allocations: 3.969 kB / 0.5613 GB, free: 104 kB / 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 0.0001124/0.1413, allocations: 139.5 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1413, allocations: 11.92 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-06/0.1413, allocations: 3.125 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1413, allocations: 0 / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1413, allocations: 0 / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1414, allocations: 0 / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1415, allocations: 141.7 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1415, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.1415, allocations: 4 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1415, allocations: 11.92 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1415, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1415, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1415, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1416, allocations: 90.78 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.1416, allocations: 85.03 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1416, allocations: 3.938 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.1417, allocations: 4.031 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1417, allocations: 7.984 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1417, allocations: 0 / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.1417, allocations: 75.28 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1417, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.142, allocations: 67.8 kB / 0.5619 GB, free: 15.36 MB / 430.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.0004705/0.1425, allocations: 186.9 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1426, allocations: 63.41 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1426, allocations: 0 / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.1427, allocations: 55.41 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1428, allocations: 5.266 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.143, allocations: 122.6 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1433, allocations: 0.673 MB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.1434, allocations: 7.438 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1434, allocations: 0 / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of Templates: time 0.0037/0.1471, allocations: 1.501 MB / 0.5645 GB, free: 12.67 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/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: 8.551665411010617]