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.001096/0.001096, allocations: 107.2 kB / 17.03 MB, free: 5.664 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.001225/0.001225, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.33/1.33, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1967/0.1967, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001401/0.001401, allocations: 67.64 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09875, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001734/0.1005, allocations: 497.1 kB / 442.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.1053, allocations: 5.059 MB / 447.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.1053, allocations: 7.938 kB / 447.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1054, allocations: 0 / 447.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-06/0.1054, allocations: 0 / 447.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.1062, allocations: 223.3 kB / 447.7 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.403e-05/0.1063, allocations: 4 kB / 447.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1063, allocations: 4 kB / 447.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1063, allocations: 7.922 kB / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.625e-05/0.1064, allocations: 0 / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.1064, allocations: 0 / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.1069, allocations: 414.6 kB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.107, allocations: 0 / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.107, allocations: 4 kB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1074, allocations: 299.4 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1074, allocations: 4 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1075, allocations: 4 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1075, allocations: 3.938 kB / 448.5 MB, free: 15.63 MB / 334.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.0003528/0.1078, allocations: 389.2 kB / 448.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1079, allocations: 11.89 kB / 448.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.1079, allocations: 4.844 kB / 448.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.111e-05/0.108, allocations: 160.4 kB / 449 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.108, allocations: 4.375 kB / 449 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.108, allocations: 4.375 kB / 449 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.1081, allocations: 33.81 kB / 449 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1081, allocations: 4 kB / 449.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1081, allocations: 3.938 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1081, allocations: 4 kB / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.1082, allocations: 0 / 449.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.1083, allocations: 141.7 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.1083, allocations: 22.61 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.1084, allocations: 4.859 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.1084, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.1084, allocations: 64.19 kB / 449.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1084, allocations: 4 kB / 449.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.1086, allocations: 63.34 kB / 449.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1087, allocations: 81.11 kB / 449.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.1087, allocations: 93.86 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1087, allocations: 29.64 kB / 449.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.1088, allocations: 80.14 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1088, allocations: 8.109 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1088, allocations: 13.72 kB / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.1089, allocations: 310.8 kB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.109, allocations: 0 / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.109, allocations: 0 / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.16e-05/0.109, allocations: 68.2 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.109, allocations: 0 / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.003e-05/0.1091, allocations: 67.45 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.1091, allocations: 33.64 kB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1092, allocations: 0 / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1092, allocations: 4 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.1092, allocations: 0 / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1092, allocations: 0 / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.1092, allocations: 0 / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.1092, allocations: 0 / 450.1 MB, free: 13.68 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 8.423e-05/0.1093, allocations: 139.5 kB / 450.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1093, allocations: 7.922 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.1093, allocations: 11.16 kB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1093, allocations: 3.984 kB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1094, allocations: 0 / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1094, allocations: 0 / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.1095, allocations: 149.6 kB / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1095, allocations: 0 / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.1095, allocations: 0 / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1095, allocations: 7.922 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1095, allocations: 0 / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1095, allocations: 3.938 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1095, allocations: 8 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.893e-05/0.1096, allocations: 82.84 kB / 450.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.1097, allocations: 85.03 kB / 450.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1097, allocations: 8 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1097, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1097, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1097, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1097, allocations: 83.25 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1098, allocations: 0 / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1101, allocations: 75.92 kB / 450.8 MB, free: 12.92 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.0004111/0.1105, allocations: 179.9 kB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.1106, allocations: 67.34 kB / 451 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1106, allocations: 0 / 451 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.1106, allocations: 55.41 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1108, allocations: 0 / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001642/0.111, allocations: 80.92 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1112, allocations: 0.669 MB / 451.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.1112, allocations: 4 kB / 451.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-06/0.1112, allocations: 7.438 kB / 451.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1112, allocations: 0 / 451.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of Templates: time 0.004338/0.1155, allocations: 1.688 MB / 453.5 MB, free: 10.1 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 -s gbode -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