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.001549/0.001549, allocations: 110.8 kB / 17.09 MB, free: 5.957 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.001612/0.001612, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.47/1.47, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2237/0.2237, allocations: 43.52 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.001579/0.001579, allocations: 73.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001775/0.1084, allocations: 0.4911 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.1148, allocations: 5.08 MB / 0.494 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.1149, allocations: 0 / 0.494 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1149, allocations: 0 / 0.494 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.115, allocations: 3.938 kB / 0.494 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.116, allocations: 227.3 kB / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.116, allocations: 0 / 0.4942 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1161, allocations: 11.92 kB / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.1161, allocations: 0 / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.427e-05/0.1161, allocations: 0 / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-06/0.1161, allocations: 0 / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.1168, allocations: 407.2 kB / 0.4946 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.1168, allocations: 4 kB / 0.4946 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1169, allocations: 7.984 kB / 0.4946 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.1174, allocations: 307.2 kB / 0.4949 GB, free: 5.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1174, allocations: 3.984 kB / 0.4949 GB, free: 5.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1174, allocations: 0 / 0.4949 GB, free: 5.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1174, allocations: 0 / 0.4949 GB, free: 5.234 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.0003779/0.1178, allocations: 380.8 kB / 0.4953 GB, free: 4.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1179, allocations: 11.89 kB / 0.4953 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1179, allocations: 4.938 kB / 0.4953 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.118, allocations: 164.4 kB / 0.4954 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.118, allocations: 4.375 kB / 0.4954 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.118, allocations: 4.375 kB / 0.4955 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.1181, allocations: 29.83 kB / 0.4955 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1181, allocations: 0 / 0.4955 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.1181, allocations: 0 / 0.4955 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1182, allocations: 4 kB / 0.4955 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.1182, allocations: 0 / 0.4955 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1183, allocations: 145.6 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.1184, allocations: 34.53 kB / 0.4957 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.1184, allocations: 4.859 kB / 0.4957 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.1184, allocations: 0 / 0.4957 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.1184, allocations: 60.2 kB / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.1185, allocations: 0 / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.1186, allocations: 67.39 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1187, allocations: 81.11 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.1187, allocations: 97.98 kB / 0.496 GB, free: 3.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1188, allocations: 25.7 kB / 0.496 GB, free: 3.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.1188, allocations: 80.14 kB / 0.4961 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1188, allocations: 0 / 0.4961 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.1188, allocations: 13.72 kB / 0.4961 GB, free: 3.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1189, allocations: 310.8 kB / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.119, allocations: 0 / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.119, allocations: 0 / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.119, allocations: 72.31 kB / 0.4964 GB, free: 3.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1191, allocations: 0 / 0.4964 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.39e-05/0.1191, allocations: 67.34 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.1192, allocations: 33.64 kB / 0.4965 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1192, allocations: 3.938 kB / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1192, allocations: 0 / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1192, allocations: 4 kB / 0.4965 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1192, allocations: 0 / 0.4965 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.1192, allocations: 0 / 0.4965 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1192, allocations: 4.031 kB / 0.4965 GB, free: 3.289 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 7.967e-05/0.1193, allocations: 143.5 kB / 0.4967 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-06/0.1193, allocations: 3.938 kB / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-06/0.1194, allocations: 3.125 kB / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1194, allocations: 0 / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1194, allocations: 0 / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1194, allocations: 81.11 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1194, allocations: 4 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.1194, allocations: 0 / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1195, allocations: 7.984 kB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000116/0.1196, allocations: 194 kB / 0.497 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001388/0.1197, allocations: 240.5 kB / 0.4972 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.015e-05/0.1198, allocations: 15.92 kB / 0.4972 GB, free: 2.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.1198, allocations: 75.28 kB / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.1198, allocations: 64 / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.1205, allocations: 243.7 kB / 0.4975 GB, free: 2.203 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003241/0.1208, allocations: 0.5755 MB / 0.4981 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Templates: time 0.004918/0.1258, allocations: 2.068 MB / 0.5001 GB, free: 15.5 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