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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 105 kB / 16.94 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 191.3 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2373/0.2373, allocations: 43.51 MB / 314.6 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 66 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.113, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002546/0.1156, allocations: 493.5 kB / 441.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.1214, allocations: 5.068 MB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.1214, allocations: 0 / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.1215, allocations: 0 / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.1215, allocations: 0 / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1226, allocations: 227.2 kB / 447 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.1226, allocations: 7.922 kB / 447 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1227, allocations: 4 kB / 447 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1227, allocations: 3.984 kB / 447 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.1227, allocations: 4 kB / 447 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.1227, allocations: 0 / 447 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.1234, allocations: 399.2 kB / 447.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1234, allocations: 0 / 447.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.1234, allocations: 0 / 447.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.124, allocations: 303.4 kB / 447.7 MB, free: 408 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.124, allocations: 4 kB / 447.7 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.124, allocations: 0 / 447.7 MB, free: 404 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.124, allocations: 0 / 447.7 MB, free: 404 kB / 318.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.0004109/0.1244, allocations: 389.2 kB / 448 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1245, allocations: 15.89 kB / 448.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1245, allocations: 4.844 kB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1246, allocations: 168.4 kB / 448.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1246, allocations: 384 / 448.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1247, allocations: 384 / 448.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1248, allocations: 37.83 kB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1248, allocations: 0 / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1248, allocations: 0 / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1248, allocations: 0 / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.1248, allocations: 4 kB / 448.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.125, allocations: 149.7 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.1251, allocations: 22.45 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.1251, allocations: 8.953 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.1251, allocations: 4 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.1252, allocations: 64.2 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.1252, allocations: 0 / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.000206/0.1254, allocations: 67.33 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.1254, allocations: 81.05 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1255, allocations: 89.86 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1255, allocations: 25.7 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.1256, allocations: 84.27 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.1256, allocations: 4 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1256, allocations: 13.72 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1257, allocations: 310.8 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.1258, allocations: 4 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.1258, allocations: 4 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.1258, allocations: 64.25 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1258, allocations: 0 / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.631e-05/0.1259, allocations: 67.47 kB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.126, allocations: 37.58 kB / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.126, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.126, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.126, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.126, allocations: 0 / 449.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.126, allocations: 8.266 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.126, allocations: 0 / 449.4 MB, free: 14.43 MB / 334.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 0.0001051/0.1262, allocations: 135.5 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1262, allocations: 11.94 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.1262, allocations: 3.125 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1262, allocations: 0 / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1262, allocations: 0 / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1262, allocations: 0 / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1263, allocations: 149.6 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1263, allocations: 0 / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.1264, allocations: 4 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1264, allocations: 3.938 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1264, allocations: 0 / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1264, allocations: 7.984 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1264, allocations: 0 / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1265, allocations: 98.77 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1266, allocations: 81.05 kB / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1266, allocations: 0 / 449.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.1266, allocations: 3.938 kB / 449.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1266, allocations: 7.938 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1266, allocations: 32 / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.1267, allocations: 79.28 kB / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1267, allocations: 0 / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.127, allocations: 59.98 kB / 450 MB, free: 13.69 MB / 334.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.000477/0.1275, allocations: 194.1 kB / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.1276, allocations: 59.41 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1276, allocations: 4 kB / 450.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.1277, allocations: 55.39 kB / 450.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1278, allocations: 8 kB / 450.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.128, allocations: 102.6 kB / 450.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1283, allocations: 0.669 MB / 451.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1283, allocations: 11.42 kB / 451.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1283, allocations: 0 / 451.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Templates: time 0.004227/0.1326, allocations: 1.59 MB / 452.7 MB, free: 10.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches