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.001608/0.001608, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.0008229, allocations: 86.3 kB / 261.7 MB, free: 1.617 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.2185/0.2185, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.338e-05/1.34e-05, allocations: 0 / 418.3 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 58.85 MB / 477.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5503/0.6604, allocations: 195.4 MB / 0.6567 GB, free: 1.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.6607, allocations: 72.38 kB / 0.6568 GB, free: 1.121 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02723/0.6879, allocations: 6.978 MB / 0.6636 GB, free: 11.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.688, allocations: 0 / 0.6636 GB, free: 11.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.688, allocations: 0 / 0.6636 GB, free: 11.3 MB / 474.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.0006872/0.6887, allocations: 406.8 kB / 0.664 GB, free: 10.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/0.6888, allocations: 8.031 kB / 0.664 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.6889, allocations: 0 / 0.664 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.689, allocations: 165.7 kB / 0.6642 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.6891, allocations: 0 / 0.6642 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6891, allocations: 4 kB / 0.6642 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.751e-05/0.6892, allocations: 0 / 0.6642 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6893, allocations: 29.69 kB / 0.6642 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6893, allocations: 0 / 0.6642 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6893, allocations: 0 / 0.6642 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6894, allocations: 8 kB / 0.6642 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.6896, allocations: 130.1 kB / 0.6643 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.6896, allocations: 17.58 kB / 0.6643 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.6897, allocations: 4.859 kB / 0.6643 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.6897, allocations: 4.094 kB / 0.6643 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.933e-05/0.6898, allocations: 57.61 kB / 0.6644 GB, free: 10.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.6898, allocations: 4 kB / 0.6644 GB, free: 10.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003021/0.6901, allocations: 33.69 kB / 0.6644 GB, free: 10.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.6902, allocations: 81.11 kB / 0.6645 GB, free: 10.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.6903, allocations: 88 kB / 0.6646 GB, free: 10.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6903, allocations: 25.7 kB / 0.6646 GB, free: 10.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6904, allocations: 80.14 kB / 0.6647 GB, free: 9.992 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.6905, allocations: 3.938 kB / 0.6647 GB, free: 9.988 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.6905, allocations: 0 / 0.6647 GB, free: 9.988 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6907, allocations: 310.8 kB / 0.665 GB, free: 9.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.6907, allocations: 4.031 kB / 0.665 GB, free: 9.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-06/0.6907, allocations: 4 kB / 0.665 GB, free: 9.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.6908, allocations: 0 / 0.665 GB, free: 9.668 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6908, allocations: 3.938 kB / 0.665 GB, free: 9.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001194/0.6909, allocations: 44.39 kB / 0.665 GB, free: 9.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.691, allocations: 29.7 kB / 0.6651 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.691, allocations: 0 / 0.6651 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.691, allocations: 0 / 0.6651 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.6911, allocations: 0 / 0.6651 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.6911, allocations: 4.094 kB / 0.6651 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.6911, allocations: 4 kB / 0.6651 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.6911, allocations: 3.938 kB / 0.6651 GB, free: 9.57 MB / 474.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 0.0001487/0.6913, allocations: 130.7 kB / 0.6652 GB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.6913, allocations: 7.953 kB / 0.6652 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.6913, allocations: 3.75 kB / 0.6652 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6913, allocations: 0 / 0.6652 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6914, allocations: 0 / 0.6652 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6914, allocations: 0 / 0.6652 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.6915, allocations: 134.2 kB / 0.6654 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6915, allocations: 0 / 0.6654 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.6915, allocations: 0 / 0.6654 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6916, allocations: 4 kB / 0.6654 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6916, allocations: 7.938 kB / 0.6654 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6916, allocations: 0 / 0.6654 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6916, allocations: 0 / 0.6654 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.6918, allocations: 56.39 kB / 0.6654 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.6919, allocations: 92.05 kB / 0.6655 GB, free: 9.059 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.6919, allocations: 3.984 kB / 0.6655 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.6919, allocations: 3.953 kB / 0.6655 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.692, allocations: 0 / 0.6655 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.692, allocations: 0 / 0.6655 GB, free: 9.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.237e-05/0.692, allocations: 75.28 kB / 0.6656 GB, free: 8.977 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.692, allocations: 4 kB / 0.6656 GB, free: 8.973 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006652/0.6927, allocations: 87.84 kB / 0.6657 GB, free: 8.887 MB / 474.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.0008468/0.6936, allocations: 209.9 kB / 0.6659 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.6937, allocations: 58.53 kB / 0.6659 GB, free: 8.613 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6937, allocations: 0 / 0.6659 GB, free: 8.613 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.6938, allocations: 55.41 kB / 0.666 GB, free: 8.547 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.6939, allocations: 0 / 0.666 GB, free: 8.547 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.6941, allocations: 52.12 kB / 0.666 GB, free: 8.473 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.6945, allocations: 0.6768 MB / 0.6667 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.6945, allocations: 0 / 0.6667 GB, free: 7.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.6946, allocations: 7.438 kB / 0.6667 GB, free: 7.766 MB / 474.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6946, allocations: 0 / 0.6667 GB, free: 7.766 MB / 474.7 MB Notification: Performance of Templates: time 0.007376/0.702, allocations: 1.816 MB / 0.6685 GB, free: 5.961 MB / 474.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/jenkins/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