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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 171.2 kB / 16.76 MB, free: 5.051 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.546/1.546, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008275/0.0008278, allocations: 85.05 kB / 271.3 MB, free: 8.246 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.417/0.417, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 12 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 58.86 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4843/0.6287, allocations: 196.2 MB / 0.6715 GB, free: 1.445 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.6291, allocations: 71.97 kB / 0.6716 GB, free: 1.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/0.9173, allocations: 6.928 MB / 0.6784 GB, free: 150.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.9173, allocations: 1.312 kB / 0.6784 GB, free: 150.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.9174, allocations: 0 / 0.6784 GB, free: 150.9 MB / 490.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.0004252/0.9178, allocations: 405 kB / 0.6788 GB, free: 150.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.9179, allocations: 12.75 kB / 0.6788 GB, free: 150.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.9179, allocations: 6.219 kB / 0.6788 GB, free: 150.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.501e-05/0.918, allocations: 163.6 kB / 0.6789 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.918, allocations: 1.656 kB / 0.6789 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.918, allocations: 384 / 0.6789 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.9181, allocations: 32.48 kB / 0.679 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9181, allocations: 0.75 kB / 0.679 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.9181, allocations: 9.125 kB / 0.679 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9182, allocations: 3.375 kB / 0.679 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.9182, allocations: 1.375 kB / 0.679 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.9183, allocations: 147.6 kB / 0.6791 GB, free: 150 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.301e-05/0.9183, allocations: 19.27 kB / 0.6791 GB, free: 150 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.9183, allocations: 6.328 kB / 0.6791 GB, free: 150 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-06/0.9184, allocations: 0 / 0.6791 GB, free: 150 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.9184, allocations: 60.86 kB / 0.6792 GB, free: 149.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.9184, allocations: 1.312 kB / 0.6792 GB, free: 149.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.9186, allocations: 69.12 kB / 0.6793 GB, free: 149.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.9186, allocations: 85.55 kB / 0.6794 GB, free: 149.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.252e-05/0.9186, allocations: 89.86 kB / 0.6794 GB, free: 149.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.9187, allocations: 27.39 kB / 0.6795 GB, free: 149.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.9187, allocations: 80.14 kB / 0.6795 GB, free: 149.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.9187, allocations: 2.031 kB / 0.6795 GB, free: 149.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/0.9187, allocations: 0 / 0.6795 GB, free: 149.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.9188, allocations: 312.1 kB / 0.6798 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.9188, allocations: 1.344 kB / 0.6798 GB, free: 149.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.9188, allocations: 8.656 kB / 0.6799 GB, free: 149.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.9188, allocations: 62.64 kB / 0.6799 GB, free: 149.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9188, allocations: 0 / 0.6799 GB, free: 149.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.954e-05/0.9189, allocations: 61.3 kB / 0.68 GB, free: 149.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.9189, allocations: 31.89 kB / 0.68 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.919, allocations: 0 / 0.68 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.919, allocations: 6.375 kB / 0.68 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.919, allocations: 1.188 kB / 0.68 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.919, allocations: 3.188 kB / 0.68 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.919, allocations: 8.281 kB / 0.68 GB, free: 149 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.919, allocations: 0 / 0.68 GB, free: 149 MB / 490.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 6.721e-05/0.9191, allocations: 142.8 kB / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.9191, allocations: 0 / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.9191, allocations: 8.281 kB / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9191, allocations: 0 / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9191, allocations: 0 / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.9192, allocations: 1.344 kB / 0.6802 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.069e-05/0.9192, allocations: 146.2 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9192, allocations: 4 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.9192, allocations: 0 / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.9192, allocations: 1.594 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.9193, allocations: 3.938 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9193, allocations: 9.312 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9193, allocations: 3.188 kB / 0.6803 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.116e-05/0.9194, allocations: 91.03 kB / 0.6804 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.9194, allocations: 88.41 kB / 0.6805 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.9194, allocations: 8.688 kB / 0.6805 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.9194, allocations: 1.062 kB / 0.6805 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.9194, allocations: 1.5 kB / 0.6805 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.9195, allocations: 0 / 0.6805 GB, free: 148.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.753e-05/0.9195, allocations: 75.88 kB / 0.6806 GB, free: 148.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.9195, allocations: 0 / 0.6806 GB, free: 148.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004237/0.9199, allocations: 85.55 kB / 0.6807 GB, free: 148.4 MB / 490.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.0004807/0.9204, allocations: 203.5 kB / 0.6809 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.9205, allocations: 63.28 kB / 0.6809 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9205, allocations: 2.031 kB / 0.6809 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.9205, allocations: 53.81 kB / 0.681 GB, free: 148.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.9207, allocations: 2.375 kB / 0.681 GB, free: 148.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.9209, allocations: 86.62 kB / 0.6811 GB, free: 148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.921, allocations: 0.6745 MB / 0.6817 GB, free: 147.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.034e-05/0.921, allocations: 0.9375 kB / 0.6817 GB, free: 147.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.921, allocations: 7.438 kB / 0.6817 GB, free: 147.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.921, allocations: 1.125 kB / 0.6817 GB, free: 147.3 MB / 490.7 MB Notification: Performance of Templates: time 0.005346/0.9264, allocations: 1.865 MB / 0.6835 GB, free: 147.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/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