Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006897/0.00069, allocations: 94.28 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3783/0.3783, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003804, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006215/0.1376, allocations: 228.3 kB / 490.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.1435, allocations: 4.742 MB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.1435, allocations: 0 / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.1436, allocations: 0 / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1436, allocations: 3.938 kB / 495.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1444, allocations: 195.5 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.976e-05/0.1444, allocations: 4 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.1445, allocations: 3.984 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.1445, allocations: 3.984 kB / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.739e-05/0.1445, allocations: 4 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.1445, allocations: 0 / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1451, allocations: 367.3 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.1451, allocations: 3.984 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1451, allocations: 29.69 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1454, allocations: 195.7 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1454, allocations: 0 / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1454, allocations: 8 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1454, allocations: 0 / 496 MB, free: 5.43 MB / 378.7 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.0004105/0.1459, allocations: 389 kB / 496.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1459, allocations: 8.031 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1459, allocations: 7.953 kB / 496.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.146, allocations: 163 kB / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1461, allocations: 0 / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1461, allocations: 0 / 496.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.1462, allocations: 29.7 kB / 496.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1462, allocations: 4 kB / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1462, allocations: 0 / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1462, allocations: 3.953 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.1462, allocations: 0 / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1464, allocations: 153.7 kB / 496.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.1464, allocations: 18.52 kB / 496.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.1464, allocations: 4.859 kB / 496.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.1465, allocations: 4.094 kB / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1465, allocations: 60.27 kB / 496.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.1465, allocations: 3.984 kB / 496.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.1467, allocations: 71.3 kB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1468, allocations: 77.11 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.1468, allocations: 97.75 kB / 497.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1468, allocations: 25.7 kB / 497.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1469, allocations: 84.14 kB / 497.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1469, allocations: 4.125 kB / 497.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.1469, allocations: 4 kB / 497.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.147, allocations: 310.8 kB / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.1471, allocations: 0 / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.1471, allocations: 7.922 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.1471, allocations: 29.7 kB / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1471, allocations: 0 / 497.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.407e-05/0.1472, allocations: 63.34 kB / 497.6 MB, free: 3.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.1472, allocations: 40.14 kB / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1472, allocations: 0 / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1473, allocations: 0 / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1473, allocations: 0 / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1473, allocations: 3.984 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.1473, allocations: 0 / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1473, allocations: 7.953 kB / 497.6 MB, free: 3.531 MB / 378.7 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 8.758e-05/0.1474, allocations: 139.5 kB / 497.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.1474, allocations: 0 / 497.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.1474, allocations: 7.125 kB / 497.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.1474, allocations: 4 kB / 497.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1474, allocations: 0 / 497.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1475, allocations: 0 / 497.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1476, allocations: 153.6 kB / 497.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1476, allocations: 0 / 497.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1476, allocations: 0 / 497.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1476, allocations: 4 kB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1476, allocations: 0 / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1476, allocations: 4 kB / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1476, allocations: 0 / 497.9 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1477, allocations: 98.78 kB / 498 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.1478, allocations: 77.11 kB / 498.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1478, allocations: 0 / 498.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.1478, allocations: 0 / 498.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1478, allocations: 0 / 498.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1478, allocations: 4 kB / 498.1 MB, free: 2.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.1479, allocations: 83.22 kB / 498.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1479, allocations: 4.031 kB / 498.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.1482, allocations: 63.98 kB / 498.3 MB, free: 2.793 MB / 378.7 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.0003974/0.1486, allocations: 186.4 kB / 498.4 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.1487, allocations: 55.41 kB / 498.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1487, allocations: 8.062 kB / 498.5 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.903e-05/0.1488, allocations: 59.39 kB / 498.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.1489, allocations: 7.953 kB / 498.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.1491, allocations: 96.47 kB / 498.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1493, allocations: 0.6731 MB / 499.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.1494, allocations: 11.44 kB / 499.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1494, allocations: 0 / 499.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of Templates: time 0.003272/0.1526, allocations: 1.58 MB / 0.4892 GB, free: 36 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches