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.0009273/0.0009275, allocations: 96.59 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008939/0.0008941, allocations: 175.5 kB / 16.57 MB, free: 6.391 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.516/1.516, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3226/0.3226, allocations: 43.55 MB / 314.5 MB, free: 8.754 MB / 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.0005108/0.0005108, allocations: 22.91 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006158/0.1273, allocations: 224.4 kB / 443 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.1317, allocations: 3.102 MB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1317, allocations: 4 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.668e-06/0.1317, allocations: 0 / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.619e-06/0.1317, allocations: 0 / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1325, allocations: 163.5 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.1325, allocations: 11.97 kB / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.1326, allocations: 4 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.1326, allocations: 7.938 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.1326, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-06/0.1327, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.1331, allocations: 343.3 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-06/0.1332, allocations: 0 / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1332, allocations: 29.7 kB / 446.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1335, allocations: 215.6 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1335, allocations: 0 / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1335, allocations: 4 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1335, allocations: 4 kB / 446.8 MB, free: 8.961 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.0003245/0.1338, allocations: 373.1 kB / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1339, allocations: 8.031 kB / 447.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.1339, allocations: 11.94 kB / 447.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.134, allocations: 159.1 kB / 447.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.134, allocations: 3.984 kB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.1341, allocations: 3.938 kB / 447.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.1342, allocations: 33.7 kB / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1342, allocations: 4 kB / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1342, allocations: 0 / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1342, allocations: 7.891 kB / 447.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.1342, allocations: 0 / 447.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1344, allocations: 149.7 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.758e-05/0.1344, allocations: 14.58 kB / 447.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.1344, allocations: 3.938 kB / 447.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1345, allocations: 64.27 kB / 447.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1345, allocations: 0 / 447.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.1347, allocations: 67.36 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1347, allocations: 81.11 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.1348, allocations: 89.86 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1348, allocations: 25.7 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.1348, allocations: 80.14 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1349, allocations: 0 / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.1349, allocations: 128 / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.135, allocations: 322.8 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.135, allocations: 4 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.135, allocations: 3.938 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.1351, allocations: 25.7 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1351, allocations: 0 / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.1352, allocations: 63.39 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.1352, allocations: 29.7 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1352, allocations: 0 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1353, allocations: 12.09 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1353, allocations: 3.938 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1353, allocations: 3.984 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.1353, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1353, allocations: 0 / 448.4 MB, free: 7.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.1355, allocations: 151.5 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.1355, allocations: 0 / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-06/0.1355, allocations: 3.125 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1355, allocations: 0 / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1355, allocations: 4 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1355, allocations: 0 / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.673e-05/0.1356, allocations: 153.6 kB / 448.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.1356, allocations: 0 / 448.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.1356, allocations: 3.938 kB / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1356, allocations: 3.938 kB / 448.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1356, allocations: 0 / 448.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1356, allocations: 0 / 448.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1357, allocations: 4 kB / 448.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.906e-05/0.1357, allocations: 94.78 kB / 448.9 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1358, allocations: 77.11 kB / 448.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1358, allocations: 4 kB / 448.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.1358, allocations: 0 / 448.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.1358, allocations: 0 / 448.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.1358, allocations: 0 / 448.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.628e-05/0.1359, allocations: 75.28 kB / 449 MB, free: 6.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1359, allocations: 0 / 449 MB, free: 6.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1362, allocations: 71.98 kB / 449.1 MB, free: 6.352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004135/0.1366, allocations: 195.1 kB / 449.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.1367, allocations: 59.34 kB / 449.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1367, allocations: 0 / 449.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1368, allocations: 55.47 kB / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.413e-05/0.1369, allocations: 19.38 kB / 449.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.1371, allocations: 82.7 kB / 449.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1373, allocations: 0.6731 MB / 450.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.811e-06/0.1374, allocations: 0 / 450.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-06/0.1374, allocations: 7.438 kB / 450.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1374, allocations: 0 / 450.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of Templates: time 0.004179/0.1416, allocations: 1.615 MB / 451.8 MB, free: 3.574 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches