Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.6 MB / 234.8 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009316/0.0009317, allocations: 100.3 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.385e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 63.24 MB / 0.5043 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5753, allocations: 87.99 MB / 0.5903 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5755, allocations: 63.97 kB / 0.5903 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.5891, allocations: 4.41 MB / 0.5946 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5891, allocations: 0 / 0.5946 GB, free: 10.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.5891, allocations: 4 kB / 0.5946 GB, free: 10.89 MB / 394.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.0004901/0.5896, allocations: 399.2 kB / 0.595 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5897, allocations: 8.031 kB / 0.595 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.5897, allocations: 0 / 0.595 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5898, allocations: 163 kB / 0.5952 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5899, allocations: 0 / 0.5952 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.5899, allocations: 0 / 0.5952 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.111e-05/0.5899, allocations: 4 kB / 0.5952 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.801e-05/0.59, allocations: 25.7 kB / 0.5952 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.59, allocations: 7.984 kB / 0.5952 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.59, allocations: 3.938 kB / 0.5952 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.59, allocations: 0 / 0.5952 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.5902, allocations: 137.6 kB / 0.5954 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.5902, allocations: 19.08 kB / 0.5954 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.5902, allocations: 4.859 kB / 0.5954 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.5902, allocations: 0 / 0.5954 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.5903, allocations: 64.36 kB / 0.5954 GB, free: 9.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5903, allocations: 0 / 0.5954 GB, free: 9.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.5905, allocations: 37 kB / 0.5955 GB, free: 9.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.5905, allocations: 77.11 kB / 0.5956 GB, free: 9.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.5906, allocations: 85.84 kB / 0.5956 GB, free: 9.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.5906, allocations: 29.7 kB / 0.5957 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.5907, allocations: 80.14 kB / 0.5957 GB, free: 9.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.5907, allocations: 0 / 0.5957 GB, free: 9.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.5907, allocations: 7.969 kB / 0.5957 GB, free: 9.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5908, allocations: 310.8 kB / 0.596 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/0.5908, allocations: 0 / 0.596 GB, free: 9.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.5909, allocations: 4 kB / 0.596 GB, free: 9.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.5909, allocations: 0 / 0.596 GB, free: 9.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5909, allocations: 3.938 kB / 0.5961 GB, free: 9.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.696e-05/0.591, allocations: 41.08 kB / 0.5961 GB, free: 9.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.591, allocations: 35.58 kB / 0.5961 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.591, allocations: 0 / 0.5961 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.591, allocations: 4.094 kB / 0.5961 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.5911, allocations: 0 / 0.5961 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5911, allocations: 0 / 0.5961 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.5911, allocations: 0 / 0.5961 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.5911, allocations: 8 kB / 0.5961 GB, free: 9.16 MB / 394.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 () * 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.8e-05/0.5912, allocations: 129.4 kB / 0.5963 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.5912, allocations: 3.953 kB / 0.5963 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.5912, allocations: 15.69 kB / 0.5963 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.5912, allocations: 0 / 0.5963 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5912, allocations: 4 kB / 0.5963 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5912, allocations: 0 / 0.5963 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.5913, allocations: 122.2 kB / 0.5964 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5913, allocations: 3.938 kB / 0.5964 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5913, allocations: 3.938 kB / 0.5964 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5913, allocations: 0 / 0.5964 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.5914, allocations: 7.953 kB / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.5914, allocations: 0 / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5914, allocations: 0 / 0.5964 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.5915, allocations: 66.94 kB / 0.5965 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.5915, allocations: 77.11 kB / 0.5966 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5915, allocations: 4 kB / 0.5966 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.5915, allocations: 3.953 kB / 0.5966 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.5916, allocations: 3.984 kB / 0.5966 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5916, allocations: 0 / 0.5966 GB, free: 8.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.5916, allocations: 75.28 kB / 0.5966 GB, free: 8.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5916, allocations: 0 / 0.5966 GB, free: 8.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.5919, allocations: 82.5 kB / 0.5967 GB, free: 8.492 MB / 394.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) * 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.0004428/0.5924, allocations: 218.2 kB / 0.5969 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.021e-05/0.5925, allocations: 62.52 kB / 0.597 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5925, allocations: 0 / 0.597 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.5925, allocations: 59.47 kB / 0.597 GB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.023e-05/0.5926, allocations: 0 / 0.597 GB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/0.5928, allocations: 51.2 kB / 0.5971 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.593, allocations: 0.6768 MB / 0.5977 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.26e-06/0.593, allocations: 0 / 0.5977 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-06/0.593, allocations: 7.438 kB / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.593, allocations: 0 / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of Templates: time 0.00459/0.5976, allocations: 1.756 MB / 0.5995 GB, free: 5.605 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches