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.001283/0.001283, allocations: 105.9 kB / 17.08 MB, free: 5.82 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.001201/0.001201, allocations: 195.3 kB / 18.02 MB, free: 4.965 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.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2094/0.2094, allocations: 43.52 MB / 314.8 MB, free: 476 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.001458/0.001458, allocations: 73.45 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.00167/0.1135, allocations: 0.5026 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.1197, allocations: 5.072 MB / 0.494 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.1198, allocations: 0 / 0.494 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.1198, allocations: 3.938 kB / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.1198, allocations: 0 / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1208, allocations: 231.3 kB / 0.4942 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.1209, allocations: 0 / 0.4942 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.1209, allocations: 0 / 0.4942 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.1209, allocations: 4 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.423e-05/0.1209, allocations: 0 / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-06/0.1209, allocations: 0 / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.1216, allocations: 411.2 kB / 0.4946 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1216, allocations: 3.938 kB / 0.4946 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.1216, allocations: 7.938 kB / 0.4946 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1221, allocations: 307.4 kB / 0.4949 GB, free: 5.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1221, allocations: 0 / 0.4949 GB, free: 5.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1221, allocations: 0 / 0.4949 GB, free: 5.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1221, allocations: 4 kB / 0.4949 GB, free: 5.273 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.0003763/0.1225, allocations: 377.3 kB / 0.4953 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1225, allocations: 11.89 kB / 0.4953 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1226, allocations: 4.938 kB / 0.4953 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.1227, allocations: 164.4 kB / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1227, allocations: 384 / 0.4954 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.1227, allocations: 4.375 kB / 0.4954 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.1228, allocations: 37.77 kB / 0.4955 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1228, allocations: 0 / 0.4955 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1228, allocations: 0 / 0.4955 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1228, allocations: 0 / 0.4955 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.1228, allocations: 4 kB / 0.4955 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.123, allocations: 153.5 kB / 0.4956 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.481e-05/0.123, allocations: 22.58 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.123, allocations: 8.953 kB / 0.4957 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.123, allocations: 0 / 0.4957 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.1231, allocations: 64.14 kB / 0.4957 GB, free: 4.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1231, allocations: 0 / 0.4957 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.1232, allocations: 63.39 kB / 0.4958 GB, free: 4.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1233, allocations: 77.11 kB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.1233, allocations: 93.86 kB / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1233, allocations: 29.83 kB / 0.496 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.1234, allocations: 84.14 kB / 0.496 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1234, allocations: 3.938 kB / 0.496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1234, allocations: 9.719 kB / 0.4961 GB, free: 3.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.1235, allocations: 310.8 kB / 0.4964 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.1235, allocations: 4 kB / 0.4964 GB, free: 3.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.1236, allocations: 3.984 kB / 0.4964 GB, free: 3.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.1236, allocations: 76.27 kB / 0.4964 GB, free: 3.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1236, allocations: 0 / 0.4964 GB, free: 3.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.174e-05/0.1237, allocations: 59.41 kB / 0.4965 GB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.1237, allocations: 33.64 kB / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1237, allocations: 0 / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1238, allocations: 3.984 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1238, allocations: 0 / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1238, allocations: 0 / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.1238, allocations: 4 kB / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1238, allocations: 3.938 kB / 0.4965 GB, free: 3.324 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.515e-05/0.1239, allocations: 139.5 kB / 0.4967 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.1239, allocations: 7.938 kB / 0.4967 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-06/0.1239, allocations: 3.125 kB / 0.4967 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1239, allocations: 3.984 kB / 0.4967 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1239, allocations: 0 / 0.4967 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.124, allocations: 85.09 kB / 0.4968 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.124, allocations: 0 / 0.4968 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.124, allocations: 0 / 0.4968 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.124, allocations: 7.938 kB / 0.4968 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001128/0.1241, allocations: 194.1 kB / 0.497 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001319/0.1243, allocations: 244.4 kB / 0.4972 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.866e-05/0.1243, allocations: 7.938 kB / 0.4972 GB, free: 2.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.601e-05/0.1243, allocations: 75.28 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of Backend: time 2.6e-07/0.1244, allocations: 0 / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007571/0.1251, allocations: 244.5 kB / 0.4975 GB, free: 2.234 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003734/0.1255, allocations: 0.5717 MB / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Templates: time 0.004758/0.1303, allocations: 2.072 MB / 0.5001 GB, free: 15.53 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