Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 169.7 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 87.95 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2173/0.2173, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.973e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.6154, allocations: 86.93 MB / 0.5795 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.6157, allocations: 63.97 kB / 0.5796 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.6291, allocations: 4.349 MB / 0.5839 GB, free: 5.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6291, allocations: 0 / 0.5839 GB, free: 5.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.6291, allocations: 0 / 0.5839 GB, free: 5.203 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.0003861/0.6295, allocations: 396.1 kB / 0.5842 GB, free: 4.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6296, allocations: 15.98 kB / 0.5843 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.6296, allocations: 3.938 kB / 0.5843 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.6297, allocations: 171 kB / 0.5844 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.6297, allocations: 3.953 kB / 0.5844 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.6297, allocations: 0 / 0.5844 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.348e-05/0.6298, allocations: 4 kB / 0.5844 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.221e-05/0.6298, allocations: 25.7 kB / 0.5844 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6299, allocations: 0 / 0.5844 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.6299, allocations: 0 / 0.5844 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6299, allocations: 0 / 0.5844 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.63, allocations: 130.3 kB / 0.5846 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.63, allocations: 18.58 kB / 0.5846 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.6301, allocations: 13.34 kB / 0.5846 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.6301, allocations: 0 / 0.5846 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.6301, allocations: 72.2 kB / 0.5847 GB, free: 4.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.6301, allocations: 0 / 0.5847 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001743/0.6303, allocations: 29.7 kB / 0.5847 GB, free: 4.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6304, allocations: 81.11 kB / 0.5848 GB, free: 4.074 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.145e-05/0.6304, allocations: 89.03 kB / 0.5849 GB, free: 3.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.6304, allocations: 25.7 kB / 0.5849 GB, free: 3.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.6305, allocations: 84.14 kB / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.6305, allocations: 0 / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.6305, allocations: 0 / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6306, allocations: 314.8 kB / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.6306, allocations: 0 / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.6306, allocations: 0 / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.6307, allocations: 8.062 kB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6307, allocations: 0 / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.454e-05/0.6307, allocations: 33.64 kB / 0.5853 GB, free: 3.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.6308, allocations: 37.7 kB / 0.5853 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6308, allocations: 0 / 0.5853 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6308, allocations: 3.953 kB / 0.5853 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.6308, allocations: 0 / 0.5853 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6308, allocations: 3.984 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.6308, allocations: 0 / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.6308, allocations: 0 / 0.5854 GB, free: 3.449 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 6.944e-05/0.6309, allocations: 134.7 kB / 0.5855 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-06/0.6309, allocations: 0 / 0.5855 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/0.6309, allocations: 7.703 kB / 0.5855 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6309, allocations: 0 / 0.5855 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.631, allocations: 7.953 kB / 0.5855 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.631, allocations: 0 / 0.5855 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.6311, allocations: 126.2 kB / 0.5856 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6311, allocations: 3.938 kB / 0.5856 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.6311, allocations: 0 / 0.5856 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.6311, allocations: 0 / 0.5856 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6311, allocations: 8 kB / 0.5856 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6311, allocations: 0 / 0.5856 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6311, allocations: 0 / 0.5856 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.802e-05/0.6312, allocations: 73 kB / 0.5857 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.6312, allocations: 81.05 kB / 0.5858 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6313, allocations: 8 kB / 0.5858 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.6313, allocations: 0 / 0.5858 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.6313, allocations: 4.031 kB / 0.5858 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.6313, allocations: 0 / 0.5858 GB, free: 2.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.102e-05/0.6313, allocations: 75.28 kB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6313, allocations: 0 / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.6317, allocations: 83.92 kB / 0.5859 GB, free: 2.758 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.0004481/0.6321, allocations: 208 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.6322, allocations: 63.34 kB / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6322, allocations: 0 / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.6323, allocations: 55.41 kB / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.89e-05/0.6324, allocations: 0 / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00013/0.6325, allocations: 55.95 kB / 0.5863 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.6327, allocations: 0.6729 MB / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.25e-06/0.6328, allocations: 4.125 kB / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.057e-05/0.6328, allocations: 7.438 kB / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6328, allocations: 0 / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.004033/0.6368, allocations: 1.753 MB / 0.5887 GB, free: 15.88 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches