Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.826/0.826, allocations: 143.8 MB / 159.1 MB, free: 6.52 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 182.3 kB / 192 MB, free: 6.734 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.7 MB / 450.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 102.7 kB / 0.5211 GB, free: 3.332 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 289.1 kB / 0.6025 GB, free: 49.52 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004526, allocations: 12 kB / 0.6948 GB, free: 2.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3333, allocations: 82.45 MB / 0.7753 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001583/0.335, allocations: 1.157 MB / 0.7764 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.3353, allocations: 165.4 kB / 0.7766 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.3353, allocations: 4.812 kB / 0.7766 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.3354, allocations: 3.984 kB / 0.7766 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.3354, allocations: 9.703 kB / 0.7766 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3356, allocations: 8 kB / 0.7766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.3357, allocations: 23.92 kB / 0.7766 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.3358, allocations: 13.52 kB / 0.7767 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.3358, allocations: 3.938 kB / 0.7767 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.3359, allocations: 15.92 kB / 0.7767 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3359, allocations: 4 kB / 0.7767 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.336, allocations: 19.98 kB / 0.7767 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.336, allocations: 3.938 kB / 0.7767 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.3361, allocations: 33.64 kB / 0.7767 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3362, allocations: 43.86 kB / 0.7768 GB, free: 25.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3362, allocations: 0 / 0.7768 GB, free: 25.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3362, allocations: 0 / 0.7768 GB, free: 25.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.3362, allocations: 0 / 0.7768 GB, free: 25.43 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003497/0.3366, allocations: 350.1 kB / 0.7771 GB, free: 25.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3366, allocations: 8.031 kB / 0.7771 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.3366, allocations: 4.938 kB / 0.7771 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.3367, allocations: 164.3 kB / 0.7773 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3367, allocations: 4.375 kB / 0.7773 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.3367, allocations: 4.375 kB / 0.7773 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3369, allocations: 54.23 kB / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3369, allocations: 192 / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3369, allocations: 7.938 kB / 0.7773 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.337, allocations: 0 / 0.7773 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3371, allocations: 47.95 kB / 0.7774 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.3374, allocations: 260.8 kB / 0.7776 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3375, allocations: 46.5 kB / 0.7777 GB, free: 24.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.3376, allocations: 28.91 kB / 0.7777 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.3377, allocations: 11.98 kB / 0.7777 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.3377, allocations: 30.56 kB / 0.7778 GB, free: 24.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3377, allocations: 0 / 0.7778 GB, free: 24.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003325/0.338, allocations: 105.7 kB / 0.7779 GB, free: 24.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.3381, allocations: 55.41 kB / 0.7779 GB, free: 24.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.3381, allocations: 105.8 kB / 0.778 GB, free: 23.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3382, allocations: 25.7 kB / 0.778 GB, free: 23.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.3382, allocations: 84.14 kB / 0.7781 GB, free: 23.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.3382, allocations: 3.906 kB / 0.7781 GB, free: 23.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-06/0.3382, allocations: 3.938 kB / 0.7781 GB, free: 23.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.3383, allocations: 322.9 kB / 0.7784 GB, free: 23.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3383, allocations: 19.97 kB / 0.7784 GB, free: 23.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3384, allocations: 23.98 kB / 0.7785 GB, free: 23.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3386, allocations: 56.88 kB / 0.7785 GB, free: 23.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3386, allocations: 0 / 0.7785 GB, free: 23.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001644/0.3387, allocations: 85.55 kB / 0.7786 GB, free: 23.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3388, allocations: 4 kB / 0.7786 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3388, allocations: 0 / 0.7786 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3388, allocations: 7.984 kB / 0.7786 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.3389, allocations: 8 kB / 0.7786 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3389, allocations: 0 / 0.7786 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.3389, allocations: 11.98 kB / 0.7786 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3389, allocations: 11.97 kB / 0.7786 GB, free: 23.3 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.339, allocations: 109.8 kB / 0.7788 GB, free: 23.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.339, allocations: 8.156 kB / 0.7788 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3392, allocations: 101.1 kB / 0.7789 GB, free: 23.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3393, allocations: 0 / 0.7789 GB, free: 23.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3393, allocations: 4 kB / 0.7789 GB, free: 23.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3393, allocations: 4 kB / 0.7789 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.3394, allocations: 157.6 kB / 0.779 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3394, allocations: 3.984 kB / 0.779 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3395, allocations: 8 kB / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3395, allocations: 4 kB / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3395, allocations: 0 / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3395, allocations: 0 / 0.779 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3395, allocations: 4.031 kB / 0.779 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3397, allocations: 175.5 kB / 0.7792 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3397, allocations: 81.12 kB / 0.7793 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3398, allocations: 8 kB / 0.7793 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.3398, allocations: 4 kB / 0.7793 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3399, allocations: 7.922 kB / 0.7793 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3399, allocations: 4 kB / 0.7793 GB, free: 22.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.68e-05/0.3399, allocations: 83.28 kB / 0.7794 GB, free: 22.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3399, allocations: 0 / 0.7794 GB, free: 22.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.3401, allocations: 8 kB / 0.7794 GB, free: 22.43 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.3403, allocations: 123.2 kB / 0.7795 GB, free: 22.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3405, allocations: 51.97 kB / 0.7796 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3405, allocations: 0 / 0.7796 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.3406, allocations: 28.03 kB / 0.7796 GB, free: 22.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3409, allocations: 7.938 kB / 0.7796 GB, free: 22.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.3411, allocations: 128.5 kB / 0.7797 GB, free: 22.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3413, allocations: 0.6809 MB / 0.7804 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.3413, allocations: 4.062 kB / 0.7804 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.3413, allocations: 7.438 kB / 0.7804 GB, free: 21.35 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3413, allocations: 0 / 0.7804 GB, free: 21.35 MB / 458.7 MB Notification: Performance of Templates: time 0.002183/0.3435, allocations: 470.9 kB / 0.7808 GB, free: 20.89 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)