Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001024/0.001024, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.00123/0.00123, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 185.7 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1496/0.1496, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/4.05e-05, allocations: 6.25 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001874/0.001914, allocations: 0.5212 MB / 348.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.008662, allocations: 5.051 MB / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.008693, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.008728, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.708e-06/0.008738, allocations: 0 / 353.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.01022, allocations: 255.1 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.0103, allocations: 0 / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.01035, allocations: 7.969 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.01039, allocations: 3.938 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.01042, allocations: 4 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.01043, allocations: 0 / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008957/0.01132, allocations: 451 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.01133, allocations: 0 / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.01136, allocations: 0 / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.01199, allocations: 351 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.012, allocations: 0 / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.012, allocations: 0 / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01201, allocations: 0 / 354.3 MB, free: 2.816 MB / 282.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.000486/0.01249, allocations: 417.5 kB / 354.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.01255, allocations: 12.03 kB / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.01262, allocations: 0.9375 kB / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.619e-05/0.01269, allocations: 108.6 kB / 354.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.0127, allocations: 384 / 354.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.01272, allocations: 4.375 kB / 354.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.01285, allocations: 55.95 kB / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01286, allocations: 192 / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.01287, allocations: 4.125 kB / 354.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01288, allocations: 4 kB / 354.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.0129, allocations: 29.64 kB / 354.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.01303, allocations: 108.6 kB / 355 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.0131, allocations: 52.77 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.01313, allocations: 45.47 kB / 355.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.01314, allocations: 0 / 355.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.01319, allocations: 59.09 kB / 355.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.01319, allocations: 0 / 355.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000233/0.01343, allocations: 122.7 kB / 355.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.01347, allocations: 85.05 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.01351, allocations: 142.2 kB / 355.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.01352, allocations: 25.7 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.01354, allocations: 126.9 kB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.01357, allocations: 4.297 kB / 355.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.01361, allocations: 23.5 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.01367, allocations: 492.1 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.0137, allocations: 25.7 kB / 356.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.01372, allocations: 33.69 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.01377, allocations: 67.09 kB / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.01378, allocations: 0 / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.649e-05/0.01388, allocations: 88.98 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.01391, allocations: 37.69 kB / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.01392, allocations: 0 / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.01394, allocations: 96 / 356.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-06/0.01395, allocations: 4 kB / 356.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01396, allocations: 3.938 kB / 356.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.01398, allocations: 4 kB / 356.4 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.01399, allocations: 0 / 356.4 MB, free: 380 kB / 282.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 7.618e-05/0.01406, allocations: 182.3 kB / 356.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.01408, allocations: 4 kB / 356.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.01409, allocations: 3 kB / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01409, allocations: 0 / 356.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0141, allocations: 3.938 kB / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0141, allocations: 0 / 356.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.01417, allocations: 120.6 kB / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01417, allocations: 4 kB / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.01417, allocations: 0 / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01417, allocations: 0 / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01418, allocations: 0 / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01418, allocations: 0 / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01418, allocations: 0 / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01437, allocations: 139.7 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.01438, allocations: 0 / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.0144, allocations: 0 / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.01441, allocations: 4.031 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.01444, allocations: 7.984 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01444, allocations: 3.938 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.01449, allocations: 119.2 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01449, allocations: 0 / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.01492, allocations: 67.8 kB / 357.1 MB, free: 15.64 MB / 298.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.0006812/0.0156, allocations: 196.6 kB / 357.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.01581, allocations: 130.4 kB / 357.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01582, allocations: 0 / 357.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.01588, allocations: 88.8 kB / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.01604, allocations: 0 / 357.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.01629, allocations: 117.6 kB / 357.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01634, allocations: 55.31 kB / 357.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.01635, allocations: 4 kB / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.01638, allocations: 8.625 kB / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01638, allocations: 4 kB / 357.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of Templates: time 0.005519/0.02189, allocations: 1.969 MB / 359.6 MB, free: 12.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3112864322029054]