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.0008172/0.0008172, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002157, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007916/0.0007916, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001829, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.013/1.013, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1962/1.209, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.1365/0.1365, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0232/0.1597, allocations: 12.29 MB / 265.9 MB, free: 7.824 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.044e-06/2.044e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.024e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001163/0.001193, allocations: 0.5555 MB / 267.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.008953, allocations: 5.066 MB / 272.8 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.008971, allocations: 3.938 kB / 272.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.462e-06/0.008978, allocations: 4 kB / 272.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.084e-06/0.00898, allocations: 0 / 272.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.009997, allocations: 235.1 kB / 273.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.01006, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.0101, allocations: 0 / 273.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.01014, allocations: 7.938 kB / 273.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.495e-05/0.01016, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.01017, allocations: 0 / 273.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008565/0.01103, allocations: 451 kB / 273.5 MB, free: 196 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.01104, allocations: 0 / 273.5 MB, free: 196 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.01105, allocations: 3.938 kB / 273.5 MB, free: 192 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.01157, allocations: 275.4 kB / 273.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.01159, allocations: 3.984 kB / 273.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01159, allocations: 0 / 273.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.0116, allocations: 0 / 273.8 MB, free: 15.91 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.0004333/0.01204, allocations: 317.9 kB / 274.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01207, allocations: 8.031 kB / 274.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.01211, allocations: 4.938 kB / 274.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.01218, allocations: 105.7 kB / 274.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.01219, allocations: 384 / 274.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.0122, allocations: 384 / 274.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.074e-05/0.01228, allocations: 59.95 kB / 274.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.01229, allocations: 192 / 274.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.0123, allocations: 4.125 kB / 274.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.0123, allocations: 0 / 274.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.01233, allocations: 33.7 kB / 274.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.239e-05/0.01241, allocations: 65.05 kB / 274.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.01246, allocations: 44.22 kB / 274.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.01248, allocations: 34.66 kB / 274.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-06/0.01249, allocations: 0 / 274.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.01253, allocations: 60.25 kB / 274.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.01253, allocations: 0 / 274.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.01267, allocations: 110.8 kB / 274.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.01271, allocations: 81.11 kB / 274.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.01275, allocations: 89.86 kB / 274.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.01277, allocations: 41.77 kB / 274.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.01279, allocations: 84.12 kB / 274.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.01281, allocations: 7.891 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.01284, allocations: 13.72 kB / 274.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.01294, allocations: 318.8 kB / 275.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.01296, allocations: 25.7 kB / 275.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.01297, allocations: 29.7 kB / 275.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.01302, allocations: 64.25 kB / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01302, allocations: 0 / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.004e-05/0.01309, allocations: 85.14 kB / 275.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.01314, allocations: 37.7 kB / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01314, allocations: 0 / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.01315, allocations: 0 / 275.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-06/0.01315, allocations: 3.938 kB / 275.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01316, allocations: 3.984 kB / 275.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.01318, allocations: 3.938 kB / 275.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01319, allocations: 4 kB / 275.5 MB, free: 13.95 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 6.584e-05/0.01326, allocations: 135.5 kB / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-06/0.01326, allocations: 0 / 275.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.01327, allocations: 11 kB / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01327, allocations: 4 kB / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01328, allocations: 0 / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01328, allocations: 0 / 275.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.289e-05/0.01332, allocations: 65.83 kB / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01332, allocations: 4 kB / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.01332, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.01333, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01333, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.01333, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.01333, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01333, allocations: 0 / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.0134, allocations: 124.4 kB / 275.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.01341, allocations: 0 / 275.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.01342, allocations: 0 / 275.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.01343, allocations: 4 kB / 275.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.01343, allocations: 0 / 275.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.711e-06/0.01343, allocations: 4.859 kB / 275.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01343, allocations: 0 / 275.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01364, allocations: 67.8 kB / 275.9 MB, free: 13.47 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.0003655/0.014, allocations: 199.9 kB / 276.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.01409, allocations: 123.7 kB / 276.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01409, allocations: 0 / 276.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.01412, allocations: 85.97 kB / 276.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.688e-05/0.01417, allocations: 7.938 kB / 276.3 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001364/0.0143, allocations: 112 kB / 276.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.01433, allocations: 59.36 kB / 276.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.169e-06/0.01434, allocations: 0 / 276.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.01437, allocations: 51.38 kB / 276.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01437, allocations: 0 / 276.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003557/0.01792, allocations: 1.959 MB / 278.5 MB, free: 10.77 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7703769309446216]