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.00117/0.00117, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001082/0.001082, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.645/1.645, allocations: 205.1 MB / 223.2 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.2377/0.2377, allocations: 43.52 MB / 314.1 MB, free: 464 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.001389/0.001389, allocations: 67.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.001854/0.1362, allocations: 498.8 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007365/0.1436, allocations: 5.073 MB / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1436, allocations: 0 / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.1437, allocations: 3.938 kB / 0.4933 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.798e-06/0.1437, allocations: 3.938 kB / 0.4933 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1448, allocations: 227.3 kB / 0.4935 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.1449, allocations: 3.938 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1449, allocations: 4 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.145, allocations: 3.984 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.145, allocations: 0 / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.145, allocations: 0 / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.1456, allocations: 411.2 kB / 0.4939 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1457, allocations: 0 / 0.4939 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.1457, allocations: 8 kB / 0.4939 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1461, allocations: 307.4 kB / 0.4942 GB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1461, allocations: 0 / 0.4942 GB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1461, allocations: 0 / 0.4942 GB, free: 5.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1462, allocations: 0 / 0.4942 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.0004963/0.1467, allocations: 389.2 kB / 0.4946 GB, free: 4.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1467, allocations: 11.89 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1467, allocations: 0.9375 kB / 0.4946 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1469, allocations: 160.4 kB / 0.4948 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1469, allocations: 8.375 kB / 0.4948 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1469, allocations: 384 / 0.4948 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.147, allocations: 33.81 kB / 0.4948 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.147, allocations: 0 / 0.4948 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.147, allocations: 4 kB / 0.4948 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.147, allocations: 0 / 0.4948 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.1471, allocations: 3.938 kB / 0.4948 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1472, allocations: 145.6 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.1473, allocations: 30.55 kB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.1473, allocations: 4.859 kB / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.1473, allocations: 0 / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.1474, allocations: 68.25 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1474, allocations: 0 / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.1476, allocations: 63.34 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1476, allocations: 77.11 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.1477, allocations: 97.98 kB / 0.4953 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1477, allocations: 25.7 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.1478, allocations: 80.14 kB / 0.4954 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1478, allocations: 7.922 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1478, allocations: 13.72 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.148, allocations: 310.8 kB / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.148, allocations: 0 / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.148, allocations: 0 / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.148, allocations: 68.33 kB / 0.4958 GB, free: 3.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.148, allocations: 0 / 0.4958 GB, free: 3.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.685e-05/0.1481, allocations: 71.33 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.1482, allocations: 37.58 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1482, allocations: 4 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1482, allocations: 3.984 kB / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1482, allocations: 0 / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1482, allocations: 0 / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.1482, allocations: 0 / 0.4959 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1482, allocations: 0 / 0.4959 GB, free: 3.316 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 8.584e-05/0.1483, allocations: 143.5 kB / 0.496 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1484, allocations: 7.922 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-06/0.1484, allocations: 7.125 kB / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1484, allocations: 0 / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1484, allocations: 0 / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1484, allocations: 4 kB / 0.496 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.1485, allocations: 141.7 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1485, allocations: 0 / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1485, allocations: 0 / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1485, allocations: 11.92 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1485, allocations: 0 / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1485, allocations: 7.938 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1485, allocations: 0 / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.101e-05/0.1486, allocations: 86.78 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.1487, allocations: 89.03 kB / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1487, allocations: 0 / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.1487, allocations: 0 / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1487, allocations: 4.031 kB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1487, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.1488, allocations: 75.28 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 4 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1491, allocations: 67.98 kB / 0.4965 GB, free: 2.574 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.0004103/0.1495, allocations: 185.5 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.1496, allocations: 63.34 kB / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1496, allocations: 3.938 kB / 0.4967 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.1497, allocations: 55.41 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1498, allocations: 0 / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.15, allocations: 81.06 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1503, allocations: 0.6729 MB / 0.4975 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.621e-06/0.1503, allocations: 4.125 kB / 0.4975 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.1503, allocations: 7.438 kB / 0.4975 GB, free: 1.426 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1503, allocations: 0 / 0.4975 GB, free: 1.426 MB / 382.1 MB Notification: Performance of Templates: time 0.004269/0.1546, allocations: 1.69 MB / 0.4992 GB, free: 15.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches