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.001576/0.001576, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.001813/0.001813, allocations: 163 kB / 24.5 MB, free: 3.711 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2074/0.2074, allocations: 34.26 MB / 295.5 MB, free: 14.56 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.001998/0.001998, allocations: 63.88 kB / 443.1 MB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001537/0.3253, allocations: 0.492 MB / 0.4977 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3275, allocations: 1.72 MB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.3275, allocations: 3.219 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.3275, allocations: 4 kB / 0.4994 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.3275, allocations: 0 / 0.4994 GB, free: 28.37 MB / 446.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.001029/0.3285, allocations: 252.5 kB / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.3286, allocations: 10.02 kB / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3286, allocations: 0 / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.3286, allocations: 4 kB / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.3287, allocations: 11.2 kB / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.3287, allocations: 0 / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.3294, allocations: 443.4 kB / 0.5001 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.3294, allocations: 0 / 0.5001 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.3294, allocations: 0 / 0.5001 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.3298, allocations: 305.4 kB / 0.5004 GB, free: 28.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3298, allocations: 0 / 0.5004 GB, free: 28.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3298, allocations: 0 / 0.5004 GB, free: 28.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3298, allocations: 0 / 0.5004 GB, free: 28.07 MB / 446.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.0003113/0.3301, allocations: 317.6 kB / 0.5007 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3301, allocations: 13.69 kB / 0.5007 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.3302, allocations: 4.156 kB / 0.5007 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.418e-05/0.3302, allocations: 106.5 kB / 0.5008 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.3302, allocations: 384 / 0.5008 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3302, allocations: 3.656 kB / 0.5008 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.3303, allocations: 62.75 kB / 0.5008 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3303, allocations: 0 / 0.5008 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3303, allocations: 3.219 kB / 0.5008 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3303, allocations: 0 / 0.5008 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.3304, allocations: 29.64 kB / 0.5009 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.006e-05/0.3304, allocations: 103.9 kB / 0.501 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.3305, allocations: 47.75 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.3305, allocations: 30.56 kB / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.3305, allocations: 0 / 0.501 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3305, allocations: 63.52 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3305, allocations: 0 / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.3307, allocations: 120.5 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3307, allocations: 80.39 kB / 0.5013 GB, free: 26.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.072e-05/0.3308, allocations: 93.81 kB / 0.5014 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.3308, allocations: 25.7 kB / 0.5014 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.3308, allocations: 84.27 kB / 0.5015 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3308, allocations: 0 / 0.5015 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.3308, allocations: 20.38 kB / 0.5015 GB, free: 26.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.3309, allocations: 310.8 kB / 0.5018 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.3309, allocations: 33.05 kB / 0.5018 GB, free: 26.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.3309, allocations: 33.58 kB / 0.5019 GB, free: 26.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.3309, allocations: 59.48 kB / 0.5019 GB, free: 26.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3309, allocations: 0 / 0.5019 GB, free: 26.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.686e-05/0.331, allocations: 94.03 kB / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.331, allocations: 32.8 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.331, allocations: 3.344 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.331, allocations: 3.938 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.3311, allocations: 3.469 kB / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.3311, allocations: 0 / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.3311, allocations: 0 / 0.5021 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3311, allocations: 3.984 kB / 0.5021 GB, free: 26.15 MB / 446.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 4.988e-05/0.3311, allocations: 134.9 kB / 0.5022 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.3311, allocations: 3.25 kB / 0.5022 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.3312, allocations: 6.938 kB / 0.5022 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3312, allocations: 4 kB / 0.5022 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3312, allocations: 3.938 kB / 0.5022 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3312, allocations: 3.422 kB / 0.5022 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.45e-05/0.3312, allocations: 96.55 kB / 0.5023 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3312, allocations: 0 / 0.5023 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.3312, allocations: 4 kB / 0.5023 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3312, allocations: 0 / 0.5023 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.3312, allocations: 0 / 0.5023 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3312, allocations: 7.922 kB / 0.5023 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3312, allocations: 3.281 kB / 0.5023 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.113e-05/0.3313, allocations: 117.5 kB / 0.5024 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.3313, allocations: 11.12 kB / 0.5024 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.3313, allocations: 7.406 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.3313, allocations: 3.938 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.3313, allocations: 3.219 kB / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.3313, allocations: 0 / 0.5025 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.072e-05/0.3313, allocations: 75.28 kB / 0.5025 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3313, allocations: 0 / 0.5025 GB, free: 25.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3317, allocations: 62.73 kB / 0.5026 GB, free: 25.62 MB / 446.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.0004011/0.3321, allocations: 194.7 kB / 0.5028 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3322, allocations: 112.6 kB / 0.5029 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3322, allocations: 0 / 0.5029 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.3322, allocations: 84.3 kB / 0.503 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3323, allocations: 3.094 kB / 0.503 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.3325, allocations: 114.8 kB / 0.5031 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.3325, allocations: 58.61 kB / 0.5031 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.109e-06/0.3325, allocations: 0 / 0.5031 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.3325, allocations: 11.59 kB / 0.5031 GB, free: 25.06 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3325, allocations: 0 / 0.5031 GB, free: 25.06 MB / 446.1 MB Notification: Performance of Templates: time 0.004419/0.3369, allocations: 1.635 MB / 0.5047 GB, free: 24.91 MB / 446.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 -s ida -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: 4.8206496820785105]