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.0008361/0.0008361, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002054, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007346/0.0007346, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001717, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8326/0.8326, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1291/0.9617, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1413/0.1413, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03575/0.177, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.062e-06/1.062e-06, allocations: 0 / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.254e-05, allocations: 6.25 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0008833/0.0008958, allocations: 0.5517 MB / 267.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004385/0.005281, allocations: 5.081 MB / 273 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.005295, allocations: 0 / 273 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-06/0.005299, allocations: 0 / 273 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-07/0.0053, allocations: 0 / 273 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.005894, allocations: 235 kB / 273.2 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.951e-05/0.005943, allocations: 4 kB / 273.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.005975, allocations: 0 / 273.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.006004, allocations: 4 kB / 273.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.991e-05/0.006024, allocations: 3.938 kB / 273.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-06/0.006031, allocations: 0 / 273.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.006807, allocations: 462.9 kB / 273.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.006817, allocations: 0 / 273.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.006832, allocations: 8 kB / 273.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.007149, allocations: 275.3 kB / 274 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.00716, allocations: 0 / 274 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007161, allocations: 0 / 274 MB, free: 11.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.007174, allocations: 3.984 kB / 274 MB, free: 11.92 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.0003056/0.007479, allocations: 309.9 kB / 274.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.007507, allocations: 8.031 kB / 274.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.007537, allocations: 4.938 kB / 274.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.278e-05/0.00759, allocations: 105.8 kB / 274.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.007599, allocations: 384 / 274.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.007609, allocations: 4.375 kB / 274.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.007682, allocations: 51.97 kB / 274.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.00769, allocations: 8.109 kB / 274.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.007697, allocations: 4.125 kB / 274.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.007702, allocations: 4 kB / 274.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.007716, allocations: 25.7 kB / 274.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.219e-05/0.007778, allocations: 57.05 kB / 274.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.007813, allocations: 44.28 kB / 274.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.007832, allocations: 46.59 kB / 274.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-06/0.007835, allocations: 0 / 274.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.007866, allocations: 60.25 kB / 274.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.007867, allocations: 0 / 274.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.007972, allocations: 114.8 kB / 274.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.008023, allocations: 158.2 kB / 275 MB, free: 10.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.008055, allocations: 93.84 kB / 275.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.008064, allocations: 25.7 kB / 275.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/0.00808, allocations: 80.14 kB / 275.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.0081, allocations: 7.891 kB / 275.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.008123, allocations: 17.84 kB / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.008189, allocations: 318.8 kB / 275.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.008201, allocations: 29.7 kB / 275.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.008212, allocations: 29.7 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.00825, allocations: 68.19 kB / 275.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008251, allocations: 0 / 275.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.171e-05/0.008293, allocations: 81.11 kB / 275.7 MB, free: 9.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.008326, allocations: 33.7 kB / 275.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.008329, allocations: 0 / 275.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.00834, allocations: 8.078 kB / 275.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.008341, allocations: 0 / 275.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.008343, allocations: 0 / 275.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.008358, allocations: 7.938 kB / 275.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008365, allocations: 4 kB / 275.8 MB, free: 9.875 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.208e-05/0.008417, allocations: 131.5 kB / 275.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-06/0.008421, allocations: 4 kB / 275.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-06/0.008429, allocations: 3 kB / 275.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.00843, allocations: 0 / 275.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008432, allocations: 0 / 275.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.008435, allocations: 7.984 kB / 275.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.905e-05/0.008474, allocations: 69.83 kB / 276 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-07/0.008475, allocations: 3.938 kB / 276 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.008475, allocations: 0 / 276 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-06/0.008478, allocations: 0 / 276 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.008479, allocations: 0 / 276 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.008482, allocations: 0 / 276 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.008482, allocations: 7.938 kB / 276 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008483, allocations: 0 / 276 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.173e-05/0.008535, allocations: 116.5 kB / 276.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.008544, allocations: 0 / 276.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-06/0.00855, allocations: 8.031 kB / 276.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-06/0.008556, allocations: 0 / 276.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.008558, allocations: 0 / 276.1 MB, free: 9.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.45e-06/0.008563, allocations: 4.859 kB / 276.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008563, allocations: 0 / 276.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.008718, allocations: 63.8 kB / 276.2 MB, free: 9.395 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.0003318/0.00905, allocations: 207.8 kB / 276.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.494e-05/0.009135, allocations: 123.6 kB / 276.5 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.009138, allocations: 0 / 276.5 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.009167, allocations: 85.97 kB / 276.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.02e-05/0.009217, allocations: 15.92 kB / 276.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001336/0.009351, allocations: 104 kB / 276.7 MB, free: 8.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.618e-05/0.009377, allocations: 59.28 kB / 276.8 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.009382, allocations: 4 kB / 276.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.009414, allocations: 55.56 kB / 276.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009415, allocations: 0 / 276.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Templates: time 0.003204/0.01262, allocations: 2.109 MB / 278.9 MB, free: 6.535 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5528788277879357]