Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.7929/0.7929, 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.00113/0.00113, allocations: 182.8 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.433/1.433, allocations: 225.7 MB / 450.4 MB, free: 5.016 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.0008448/0.0008448, allocations: 110.8 kB / 0.5211 GB, free: 1.676 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.001679/0.001679, allocations: 287.8 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 17.72 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.0006118/0.1382, allocations: 306.5 kB / 0.7756 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.1385, allocations: 115.5 kB / 0.7757 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-06/0.1385, allocations: 4 kB / 0.7757 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1385, allocations: 0 / 0.7757 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-06/0.1386, allocations: 4 kB / 0.7757 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1388, allocations: 7.938 kB / 0.7757 GB, free: 13.94 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.105e-05/0.1388, allocations: 7.984 kB / 0.7758 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1389, allocations: 4 kB / 0.7758 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.1389, allocations: 0 / 0.7758 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.1389, allocations: 3.984 kB / 0.7758 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1389, allocations: 0 / 0.7758 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.139, allocations: 15.98 kB / 0.7758 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.139, allocations: 0 / 0.7758 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.1391, allocations: 25.7 kB / 0.7758 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.1392, allocations: 27.91 kB / 0.7758 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1392, allocations: 0 / 0.7758 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1392, allocations: 0 / 0.7758 GB, free: 13.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1392, allocations: 0 / 0.7758 GB, free: 13.85 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002505/0.1394, allocations: 307.6 kB / 0.7761 GB, free: 13.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1395, allocations: 8.031 kB / 0.7761 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.1395, allocations: 0.9375 kB / 0.7761 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.1396, allocations: 160.4 kB / 0.7763 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1396, allocations: 4.375 kB / 0.7763 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1396, allocations: 4.359 kB / 0.7763 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.1397, allocations: 38.2 kB / 0.7763 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1397, allocations: 192 / 0.7763 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1397, allocations: 3.938 kB / 0.7763 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1398, allocations: 4 kB / 0.7763 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.1398, allocations: 0 / 0.7763 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.1399, allocations: 145.6 kB / 0.7765 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.14, allocations: 22.59 kB / 0.7765 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.14, allocations: 20.8 kB / 0.7765 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.14, allocations: 4.062 kB / 0.7765 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1401, allocations: 30.56 kB / 0.7765 GB, free: 12.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1401, allocations: 0 / 0.7765 GB, free: 12.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.1402, allocations: 33.64 kB / 0.7766 GB, free: 12.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1402, allocations: 51.41 kB / 0.7766 GB, free: 12.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.1403, allocations: 89.86 kB / 0.7767 GB, free: 12.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1403, allocations: 25.7 kB / 0.7767 GB, free: 12.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.1403, allocations: 88.27 kB / 0.7768 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1403, allocations: 7.891 kB / 0.7768 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.1404, allocations: 4 kB / 0.7768 GB, free: 12.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.1405, allocations: 310.8 kB / 0.7771 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.1405, allocations: 0 / 0.7771 GB, free: 12.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-06/0.1405, allocations: 7.938 kB / 0.7771 GB, free: 12.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.1405, allocations: 4.859 kB / 0.7771 GB, free: 12.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1405, allocations: 0 / 0.7771 GB, free: 12.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.765e-05/0.1406, allocations: 37.77 kB / 0.7772 GB, free: 12.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1406, allocations: 7.938 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1406, allocations: 3.984 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1406, allocations: 3.938 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.1407, allocations: 4 kB / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1407, allocations: 0 / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.1407, allocations: 288 / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1407, allocations: 3.984 kB / 0.7772 GB, free: 12.22 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 (1): * Single equations (assignments): 1 * 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 6.276e-05/0.1408, allocations: 121.8 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.1408, allocations: 0 / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.1409, allocations: 44.69 kB / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1409, allocations: 0 / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1409, allocations: 4 kB / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1409, allocations: 0 / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.141, allocations: 145.7 kB / 0.7775 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.141, allocations: 0 / 0.7775 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.141, allocations: 16 kB / 0.7775 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.141, allocations: 0 / 0.7775 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1411, allocations: 3.938 kB / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1411, allocations: 0 / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1411, allocations: 0 / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.1411, allocations: 57.08 kB / 0.7776 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.1412, allocations: 85.09 kB / 0.7777 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1412, allocations: 7.938 kB / 0.7777 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.1412, allocations: 7.969 kB / 0.7777 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.1412, allocations: 0 / 0.7777 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1412, allocations: 4 kB / 0.7777 GB, free: 11.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.195e-05/0.1413, allocations: 75.28 kB / 0.7777 GB, free: 11.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1413, allocations: 0 / 0.7777 GB, free: 11.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.1415, allocations: 8 kB / 0.7778 GB, free: 11.55 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 (1): * Single equations (assignments): 1 * 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.0001194/0.1416, allocations: 107.2 kB / 0.7779 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.732e-05/0.1417, allocations: 11.98 kB / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1417, allocations: 0 / 0.7779 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.1417, allocations: 3.938 kB / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.1418, allocations: 4 kB / 0.7779 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.142, allocations: 78.7 kB / 0.778 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1422, allocations: 0.6692 MB / 0.7786 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1422, allocations: 12.11 kB / 0.7786 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.1422, allocations: 11.42 kB / 0.7786 GB, free: 10.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1423, allocations: 0 / 0.7786 GB, free: 10.59 MB / 458.7 MB Notification: Performance of Templates: time 0.00185/0.1441, allocations: 274.9 kB / 0.7789 GB, free: 10.32 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)