Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 79.11 kB / 19.76 MB, free: 1.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 155.3 kB / 23 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 101.3 MB / 361.1 MB, free: 9.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 62.84 kB / 0.5357 GB, free: 5.172 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1393, allocations: 85.88 MB / 0.6195 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001699/0.141, allocations: 0.5826 MB / 0.6201 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.1412, allocations: 35.89 kB / 0.6201 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.1412, allocations: 4 kB / 0.6201 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.1413, allocations: 0 / 0.6201 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.1413, allocations: 0 / 0.6201 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1415, allocations: 11.92 kB / 0.6202 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.542e-05/0.1415, allocations: 4 kB / 0.6202 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.1416, allocations: 416 / 0.6202 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.1416, allocations: 7.969 kB / 0.6202 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.1416, allocations: 0 / 0.6202 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1416, allocations: 0 / 0.6202 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.1417, allocations: 19.98 kB / 0.6202 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1417, allocations: 4 kB / 0.6202 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1417, allocations: 7.938 kB / 0.6202 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.1418, allocations: 11.97 kB / 0.6202 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1418, allocations: 0 / 0.6202 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1418, allocations: 0 / 0.6202 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.1418, allocations: 0 / 0.6202 GB, free: 0.8555 MB / 0.5137 GB 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.0002815/0.1421, allocations: 242.4 kB / 0.6204 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1421, allocations: 8.031 kB / 0.6204 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1422, allocations: 4.938 kB / 0.6204 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.432e-05/0.1423, allocations: 110.5 kB / 0.6206 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1423, allocations: 8.375 kB / 0.6206 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.1423, allocations: 4.312 kB / 0.6206 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.1423, allocations: 30.2 kB / 0.6206 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1424, allocations: 192 / 0.6206 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1424, allocations: 7.938 kB / 0.6206 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1424, allocations: 0 / 0.6206 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.1424, allocations: 0 / 0.6206 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.1425, allocations: 105.3 kB / 0.6207 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.1426, allocations: 14.58 kB / 0.6207 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.1426, allocations: 4.859 kB / 0.6207 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1426, allocations: 12.03 kB / 0.6207 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1426, allocations: 30.56 kB / 0.6208 GB, free: 176 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.765e-06/0.1426, allocations: 3.984 kB / 0.6208 GB, free: 172 kB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.1428, allocations: 41.59 kB / 0.6208 GB, free: 124 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1428, allocations: 55.41 kB / 0.6209 GB, free: 56 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.1429, allocations: 89.86 kB / 0.6209 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1429, allocations: 25.7 kB / 0.621 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.1429, allocations: 84.12 kB / 0.6211 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1429, allocations: 0 / 0.6211 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.143, allocations: 13.72 kB / 0.6211 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1431, allocations: 315 kB / 0.6214 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.1431, allocations: 3.938 kB / 0.6214 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.1431, allocations: 7.938 kB / 0.6214 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.1432, allocations: 12.86 kB / 0.6214 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1432, allocations: 0 / 0.6214 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.797e-05/0.1432, allocations: 33.69 kB / 0.6214 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1432, allocations: 4 kB / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1432, allocations: 0 / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1432, allocations: 4 kB / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.1433, allocations: 4.031 kB / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1433, allocations: 4 kB / 0.6214 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.1433, allocations: 0 / 0.6214 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1433, allocations: 4 kB / 0.6214 GB, free: 15.42 MB / 0.5294 GB 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.84e-05/0.1434, allocations: 105.8 kB / 0.6215 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1434, allocations: 3.938 kB / 0.6215 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.1435, allocations: 44.69 kB / 0.6216 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1435, allocations: 3.938 kB / 0.6216 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1435, allocations: 4.031 kB / 0.6216 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1435, allocations: 0 / 0.6216 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.1436, allocations: 97.31 kB / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1436, allocations: 7.984 kB / 0.6217 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.1436, allocations: 0 / 0.6217 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1436, allocations: 0 / 0.6217 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1436, allocations: 7.938 kB / 0.6217 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1436, allocations: 0 / 0.6217 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1436, allocations: 7.938 kB / 0.6217 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/0.1437, allocations: 57.08 kB / 0.6218 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.1437, allocations: 12.02 kB / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.1437, allocations: 0 / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.1437, allocations: 0 / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.1437, allocations: 3.938 kB / 0.6218 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1437, allocations: 4 kB / 0.6218 GB, free: 15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.1438, allocations: 75.28 kB / 0.6219 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1438, allocations: 0 / 0.6219 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001937/0.144, allocations: 7.938 kB / 0.6219 GB, free: 14.92 MB / 0.5294 GB 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.0001214/0.1441, allocations: 95.25 kB / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.1442, allocations: 19.92 kB / 0.622 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1442, allocations: 0 / 0.622 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.1442, allocations: 7.938 kB / 0.622 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.1443, allocations: 0 / 0.622 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.1445, allocations: 80.81 kB / 0.6221 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.1445, allocations: 55.34 kB / 0.6221 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1445, allocations: 8.125 kB / 0.6221 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.1446, allocations: 8.5 kB / 0.6221 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.1446, allocations: 0 / 0.6221 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.002315/0.1469, allocations: 284.4 kB / 0.6224 GB, free: 14.32 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.042948135058396] Failed to read output from testmodel.py, exit status != 0: 0.15412556694354862 0.16950095499999995 0.024682906 Calling exit ...