Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 198.9 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 244.1 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008048/0.0008046, allocations: 104.5 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3884/0.3884, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3873, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5149, allocations: 88.59 MB / 0.603 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5152, allocations: 67.97 kB / 0.603 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.5285, allocations: 4.341 MB / 0.6073 GB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5286, allocations: 0 / 0.6073 GB, free: 12.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.5286, allocations: 4 kB / 0.6073 GB, free: 12.38 MB / 426.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.000445/0.5291, allocations: 401.1 kB / 0.6077 GB, free: 11.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5291, allocations: 12.03 kB / 0.6077 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.5291, allocations: 0.9375 kB / 0.6077 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.5293, allocations: 160.4 kB / 0.6078 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5293, allocations: 384 / 0.6078 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5293, allocations: 384 / 0.6078 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.5294, allocations: 34.2 kB / 0.6079 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5294, allocations: 4.188 kB / 0.6079 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5294, allocations: 3.938 kB / 0.6079 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5294, allocations: 0 / 0.6079 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.5295, allocations: 3.984 kB / 0.6079 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.5296, allocations: 149.7 kB / 0.608 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.5296, allocations: 15.14 kB / 0.608 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.5297, allocations: 8.953 kB / 0.608 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.5297, allocations: 0 / 0.608 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.5297, allocations: 64.2 kB / 0.6081 GB, free: 11.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5297, allocations: 0 / 0.6081 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.5299, allocations: 71.33 kB / 0.6082 GB, free: 11.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.53, allocations: 77.11 kB / 0.6082 GB, free: 11.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.53, allocations: 89.86 kB / 0.6083 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.53, allocations: 25.7 kB / 0.6084 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.5301, allocations: 84.08 kB / 0.6084 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.5301, allocations: 4 kB / 0.6084 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.5301, allocations: 4.125 kB / 0.6084 GB, free: 10.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5302, allocations: 310.8 kB / 0.6087 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.5302, allocations: 3.984 kB / 0.6087 GB, free: 10.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.5302, allocations: 0 / 0.6087 GB, free: 10.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.5303, allocations: 68.2 kB / 0.6088 GB, free: 10.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5303, allocations: 0 / 0.6088 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.925e-05/0.5304, allocations: 59.41 kB / 0.6089 GB, free: 10.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5304, allocations: 33.78 kB / 0.6089 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5304, allocations: 4 kB / 0.6089 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5304, allocations: 3.938 kB / 0.6089 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.5304, allocations: 4 kB / 0.6089 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5304, allocations: 0 / 0.6089 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.5305, allocations: 0 / 0.6089 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.5305, allocations: 0 / 0.6089 GB, free: 10.44 MB / 426.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 7.601e-05/0.5306, allocations: 139.5 kB / 0.609 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.5306, allocations: 0 / 0.609 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.5306, allocations: 14.59 kB / 0.6091 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.5306, allocations: 4 kB / 0.6091 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5306, allocations: 0 / 0.6091 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5306, allocations: 0 / 0.6091 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.047e-05/0.5307, allocations: 149.7 kB / 0.6092 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5307, allocations: 3.938 kB / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.5307, allocations: 0 / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.5307, allocations: 0 / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.5307, allocations: 3.938 kB / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5307, allocations: 0 / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5308, allocations: 4 kB / 0.6092 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.5309, allocations: 98.83 kB / 0.6093 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.5309, allocations: 77.11 kB / 0.6094 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.5309, allocations: 11.92 kB / 0.6094 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.5309, allocations: 0 / 0.6094 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.531, allocations: 3.984 kB / 0.6094 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.531, allocations: 0 / 0.6094 GB, free: 9.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.208e-05/0.531, allocations: 75.28 kB / 0.6095 GB, free: 9.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.531, allocations: 7.969 kB / 0.6095 GB, free: 9.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.5314, allocations: 87.88 kB / 0.6096 GB, free: 9.668 MB / 426.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.0004586/0.5318, allocations: 192.7 kB / 0.6097 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.5319, allocations: 71.33 kB / 0.6098 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5319, allocations: 4.062 kB / 0.6098 GB, free: 9.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.532, allocations: 59.39 kB / 0.6099 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.5321, allocations: 3.938 kB / 0.6099 GB, free: 9.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.5323, allocations: 100.5 kB / 0.61 GB, free: 9.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5325, allocations: 0.6731 MB / 0.6106 GB, free: 8.488 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-06/0.5325, allocations: 7.438 kB / 0.6106 GB, free: 8.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5326, allocations: 0 / 0.6106 GB, free: 8.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003246/0.5358, allocations: 1.616 MB / 0.6122 GB, free: 6.863 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches