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.001272/0.001272, allocations: 76.06 kB / 20.72 MB, free: 3.762 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.001332/0.001332, allocations: 169 kB / 24.14 MB, free: 352 kB / 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 0.9736/0.9736, allocations: 158.6 MB / 186 MB, free: 2.746 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.1337/0.1337, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.904e-06/1.904e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.624e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001954/0.00198, allocations: 0.5485 MB / 299.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1399/0.1418, allocations: 5.053 MB / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.1419, allocations: 0 / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1419, allocations: 0.6562 kB / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.437e-06/0.1419, allocations: 0 / 304.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.143, allocations: 243.2 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.143, allocations: 5.75 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1431, allocations: 6.047 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.1431, allocations: 1.094 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.916e-05/0.1431, allocations: 1.469 kB / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.1431, allocations: 0 / 304.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.144, allocations: 470.7 kB / 305.4 MB, free: 17.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.144, allocations: 0 / 305.4 MB, free: 17.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.144, allocations: 1.062 kB / 305.4 MB, free: 17.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.1446, allocations: 357.2 kB / 305.8 MB, free: 17.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1446, allocations: 0 / 305.8 MB, free: 17.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1446, allocations: 0 / 305.8 MB, free: 17.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1446, allocations: 0.5625 kB / 305.8 MB, free: 17.69 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.0003038/0.1449, allocations: 284.9 kB / 306 MB, free: 17.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1449, allocations: 10.28 kB / 306 MB, free: 17.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.145, allocations: 2.406 kB / 306 MB, free: 17.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.508e-05/0.145, allocations: 104.3 kB / 306.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.145, allocations: 4.312 kB / 306.2 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.145, allocations: 2.891 kB / 306.2 MB, free: 17.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/0.1451, allocations: 60.67 kB / 306.2 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1451, allocations: 192 / 306.2 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.1451, allocations: 12.06 kB / 306.2 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1451, allocations: 0 / 306.2 MB, free: 17.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.1451, allocations: 30.06 kB / 306.3 MB, free: 17.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.017e-05/0.1452, allocations: 54.58 kB / 306.3 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.1452, allocations: 43.69 kB / 306.4 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.1452, allocations: 32.75 kB / 306.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.1452, allocations: 2.234 kB / 306.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1453, allocations: 58.16 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.1453, allocations: 0 / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.1454, allocations: 119 kB / 306.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.1454, allocations: 78.83 kB / 306.6 MB, free: 16.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.807e-05/0.1454, allocations: 99.66 kB / 306.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.1454, allocations: 25.7 kB / 306.8 MB, free: 16.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-06/0.1454, allocations: 81.36 kB / 306.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1455, allocations: 1.203 kB / 306.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1455, allocations: 17.67 kB / 306.9 MB, free: 16.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.1455, allocations: 317.1 kB / 307.2 MB, free: 16.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.1455, allocations: 27.38 kB / 307.2 MB, free: 16.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.1455, allocations: 26.86 kB / 307.2 MB, free: 16.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.1456, allocations: 69.36 kB / 307.3 MB, free: 16.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1456, allocations: 0 / 307.3 MB, free: 16.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.111e-05/0.1456, allocations: 85.3 kB / 307.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1456, allocations: 32.16 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1456, allocations: 1.312 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1457, allocations: 0.7031 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-06/0.1457, allocations: 1.672 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1457, allocations: 1.953 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.1457, allocations: 5.719 kB / 307.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1457, allocations: 1.125 kB / 307.4 MB, free: 15.89 MB / 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 5.228e-05/0.1457, allocations: 138.8 kB / 307.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.1457, allocations: 6.125 kB / 307.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.023e-05/0.1458, allocations: 3.656 kB / 307.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1458, allocations: 5 kB / 307.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1458, allocations: 0.7031 kB / 307.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1458, allocations: 0.6094 kB / 307.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.657e-05/0.1458, allocations: 69.31 kB / 307.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1458, allocations: 0.6094 kB / 307.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.1458, allocations: 4.969 kB / 307.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.1458, allocations: 0 / 307.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1458, allocations: 5.719 kB / 307.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1458, allocations: 2.188 kB / 307.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1458, allocations: 0.6562 kB / 307.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.488e-05/0.1459, allocations: 117.5 kB / 307.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.1459, allocations: 7.969 kB / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1459, allocations: 1.594 kB / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-06/0.1459, allocations: 0.7969 kB / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1459, allocations: 1.375 kB / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.1459, allocations: 0 / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.242e-06/0.1459, allocations: 6.203 kB / 307.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1459, allocations: 4.031 kB / 307.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.1462, allocations: 65.06 kB / 307.8 MB, free: 15.48 MB / 282.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.0004246/0.1466, allocations: 182.6 kB / 308 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.1467, allocations: 123.7 kB / 308.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1467, allocations: 0 / 308.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.1467, allocations: 92.02 kB / 308.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.782e-05/0.1468, allocations: 7 kB / 308.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001453/0.1469, allocations: 106.1 kB / 308.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.163e-05/0.1469, allocations: 53.97 kB / 308.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.103e-06/0.1469, allocations: 0 / 308.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.147, allocations: 52.56 kB / 308.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.147, allocations: 0 / 308.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Templates: time 0.004317/0.1513, allocations: 1.962 MB / 310.4 MB, free: 14.72 MB / 282.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 -s gbode -gbm=radauIIA3 -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: 2.8994541047140956]