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.001688/0.001688, allocations: 111 kB / 17.08 MB, free: 5.969 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.00208/0.00208, allocations: 194.9 kB / 18.01 MB, free: 5.055 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.469/1.469, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2154/0.2154, allocations: 43.53 MB / 314.8 MB, free: 456 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.001514/0.001514, allocations: 69.45 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001946/0.1396, allocations: 0.5055 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.1465, allocations: 5.071 MB / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1466, allocations: 0 / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.1466, allocations: 3.938 kB / 0.494 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-06/0.1467, allocations: 0 / 0.494 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1478, allocations: 231.3 kB / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.1479, allocations: 0 / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.148, allocations: 0 / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.148, allocations: 7.984 kB / 0.4942 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.148, allocations: 0 / 0.4942 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.148, allocations: 3.938 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.1487, allocations: 407.2 kB / 0.4946 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1487, allocations: 0 / 0.4946 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1488, allocations: 7.938 kB / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.1492, allocations: 303.4 kB / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1492, allocations: 0 / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1492, allocations: 0 / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1492, allocations: 0 / 0.4949 GB, free: 5.262 MB / 382.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.0004365/0.1497, allocations: 385.3 kB / 0.4953 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1497, allocations: 15.89 kB / 0.4953 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1498, allocations: 4.922 kB / 0.4953 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1499, allocations: 160.4 kB / 0.4954 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1499, allocations: 384 / 0.4954 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1499, allocations: 4.375 kB / 0.4954 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.15, allocations: 41.77 kB / 0.4955 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1501, allocations: 0 / 0.4955 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1501, allocations: 0 / 0.4955 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1501, allocations: 0 / 0.4955 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.1501, allocations: 4 kB / 0.4955 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1503, allocations: 153.5 kB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.1503, allocations: 18.58 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.1503, allocations: 8.953 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1503, allocations: 3.938 kB / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.99e-05/0.1504, allocations: 64.2 kB / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1504, allocations: 0 / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.1506, allocations: 63.39 kB / 0.4958 GB, free: 4.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1506, allocations: 77.11 kB / 0.4958 GB, free: 4.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.1507, allocations: 89.86 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1507, allocations: 29.83 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.1508, allocations: 84.14 kB / 0.496 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1508, allocations: 3.938 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1508, allocations: 13.72 kB / 0.4961 GB, free: 3.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.151, allocations: 310.8 kB / 0.4964 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.151, allocations: 4 kB / 0.4964 GB, free: 3.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.151, allocations: 7.922 kB / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.1511, allocations: 64.33 kB / 0.4964 GB, free: 3.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1511, allocations: 0 / 0.4964 GB, free: 3.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.147e-05/0.1512, allocations: 67.41 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.1512, allocations: 33.64 kB / 0.4965 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1512, allocations: 0 / 0.4965 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1513, allocations: 3.984 kB / 0.4965 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1513, allocations: 0 / 0.4965 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1513, allocations: 3.984 kB / 0.4965 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.1513, allocations: 4 kB / 0.4965 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1513, allocations: 0 / 0.4965 GB, free: 3.301 MB / 382.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 9.851e-05/0.1514, allocations: 143.5 kB / 0.4967 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.1515, allocations: 7.938 kB / 0.4967 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.1515, allocations: 7.062 kB / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1515, allocations: 0 / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1515, allocations: 0 / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1515, allocations: 0 / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1516, allocations: 149.7 kB / 0.4968 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1516, allocations: 7.984 kB / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1516, allocations: 0 / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1516, allocations: 7.938 kB / 0.4968 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1517, allocations: 3.938 kB / 0.4968 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1517, allocations: 0 / 0.4968 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1517, allocations: 0 / 0.4968 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1518, allocations: 90.83 kB / 0.4969 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1518, allocations: 81.05 kB / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1518, allocations: 0 / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.1519, allocations: 4 kB / 0.497 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.1519, allocations: 4.031 kB / 0.497 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1519, allocations: 0 / 0.497 GB, free: 2.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.1519, allocations: 79.27 kB / 0.4971 GB, free: 2.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1519, allocations: 0 / 0.4971 GB, free: 2.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1522, allocations: 63.94 kB / 0.4972 GB, free: 2.559 MB / 382.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.0004503/0.1527, allocations: 181.8 kB / 0.4973 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.1528, allocations: 63.39 kB / 0.4974 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1528, allocations: 0 / 0.4974 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.1529, allocations: 55.41 kB / 0.4974 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.153, allocations: 4 kB / 0.4974 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.1532, allocations: 106.7 kB / 0.4975 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1535, allocations: 0.6729 MB / 0.4982 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.1535, allocations: 15.5 kB / 0.4982 GB, free: 1.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1536, allocations: 0 / 0.4982 GB, free: 1.375 MB / 382.1 MB Notification: Performance of Templates: time 0.003683/0.1572, allocations: 1.591 MB / 0.4998 GB, free: 15.78 MB / 398.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