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.001103/0.001103, allocations: 200.9 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 226.5 MB / 245.4 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008254, allocations: 99.14 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.396/0.396, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003252, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4094, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.5335, allocations: 88.6 MB / 0.6049 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5337, allocations: 67.95 kB / 0.605 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.5486, allocations: 4.323 MB / 0.6092 GB, free: 12.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.5486, allocations: 4 kB / 0.6092 GB, free: 12.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.5487, allocations: 0 / 0.6092 GB, free: 12.31 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.000564/0.5492, allocations: 405.1 kB / 0.6096 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5493, allocations: 8.031 kB / 0.6096 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.5493, allocations: 0.9375 kB / 0.6096 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5495, allocations: 160.4 kB / 0.6098 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5495, allocations: 8.359 kB / 0.6098 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.5495, allocations: 384 / 0.6098 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.5496, allocations: 34.2 kB / 0.6098 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5496, allocations: 192 / 0.6098 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5496, allocations: 7.938 kB / 0.6098 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5497, allocations: 0 / 0.6098 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.5497, allocations: 0 / 0.6098 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.5499, allocations: 145.7 kB / 0.61 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.5499, allocations: 23.16 kB / 0.61 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.5499, allocations: 4.859 kB / 0.61 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.5499, allocations: 4 kB / 0.61 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/0.55, allocations: 60.2 kB / 0.61 GB, free: 11.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.55, allocations: 4.062 kB / 0.6101 GB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001916/0.5502, allocations: 63.34 kB / 0.6101 GB, free: 11.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.5503, allocations: 85.09 kB / 0.6102 GB, free: 11.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.5504, allocations: 89.86 kB / 0.6103 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.5504, allocations: 25.7 kB / 0.6103 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.5504, allocations: 80.14 kB / 0.6104 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.5505, allocations: 12 kB / 0.6104 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/0.5505, allocations: 0 / 0.6104 GB, free: 10.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5506, allocations: 310.8 kB / 0.6107 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.5507, allocations: 4 kB / 0.6107 GB, free: 10.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.5507, allocations: 0 / 0.6107 GB, free: 10.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.5507, allocations: 68.2 kB / 0.6108 GB, free: 10.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5508, allocations: 0 / 0.6108 GB, free: 10.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.185e-05/0.5508, allocations: 59.48 kB / 0.6108 GB, free: 10.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.5509, allocations: 37.7 kB / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5509, allocations: 0 / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5509, allocations: 3.938 kB / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.5509, allocations: 0 / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.551, allocations: 0 / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.551, allocations: 0 / 0.6109 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.551, allocations: 4 kB / 0.6109 GB, free: 10.37 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 9.035e-05/0.5511, allocations: 135.5 kB / 0.611 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.5511, allocations: 0 / 0.611 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.5511, allocations: 22.66 kB / 0.611 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5511, allocations: 3.984 kB / 0.611 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5511, allocations: 0 / 0.611 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5512, allocations: 0 / 0.611 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.5513, allocations: 141.7 kB / 0.6111 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5513, allocations: 3.984 kB / 0.6112 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.5513, allocations: 7.938 kB / 0.6112 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.5513, allocations: 4 kB / 0.6112 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5513, allocations: 3.938 kB / 0.6112 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5513, allocations: 0 / 0.6112 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5513, allocations: 0 / 0.6112 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.5515, allocations: 102.8 kB / 0.6113 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.5515, allocations: 77.11 kB / 0.6113 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5515, allocations: 3.938 kB / 0.6113 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-06/0.5516, allocations: 0 / 0.6113 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.5516, allocations: 0 / 0.6113 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.5516, allocations: 4 kB / 0.6113 GB, free: 9.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.5516, allocations: 79.31 kB / 0.6114 GB, free: 9.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.254e-06/0.5516, allocations: 0 / 0.6114 GB, free: 9.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.5521, allocations: 91.8 kB / 0.6115 GB, free: 9.598 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.0005657/0.5527, allocations: 201.7 kB / 0.6117 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.5528, allocations: 67.34 kB / 0.6118 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5528, allocations: 0 / 0.6118 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.5528, allocations: 55.41 kB / 0.6118 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.553, allocations: 7.984 kB / 0.6118 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.5532, allocations: 66.77 kB / 0.6119 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5535, allocations: 0.6692 MB / 0.6125 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.625e-06/0.5535, allocations: 0 / 0.6125 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.5535, allocations: 11.44 kB / 0.6126 GB, free: 8.449 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5535, allocations: 128 / 0.6126 GB, free: 8.449 MB / 426.7 MB Notification: Performance of Templates: time 0.0054/0.5589, allocations: 1.817 MB / 0.6143 GB, free: 6.633 MB / 426.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/jenkins1/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