Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001759/0.001759, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001842/0.001842, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.8003/0.8003, allocations: 101.3 MB / 361.1 MB, free: 9.551 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.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.002088/0.002088, allocations: 62.09 kB / 0.5356 GB, free: 5.242 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.1395/0.1415, allocations: 85.88 MB / 0.6195 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002661/0.1442, allocations: 1.466 MB / 0.6209 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003/0.1445, allocations: 88.7 kB / 0.621 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1445, allocations: 4 kB / 0.621 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.1446, allocations: 7.922 kB / 0.621 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.1446, allocations: 0 / 0.621 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1448, allocations: 23.92 kB / 0.621 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1449, allocations: 23.75 kB / 0.6211 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.145, allocations: 8 kB / 0.6211 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.145, allocations: 7.984 kB / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.145, allocations: 7.938 kB / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1451, allocations: 8 kB / 0.6211 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1451, allocations: 19.97 kB / 0.6211 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.1452, allocations: 7.984 kB / 0.6211 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1452, allocations: 11.92 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.1453, allocations: 39.83 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1453, allocations: 0 / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1453, allocations: 0 / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1453, allocations: 0 / 0.6212 GB, free: 15.82 MB / 0.5294 GB 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.0004252/0.1458, allocations: 270.2 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1458, allocations: 16.03 kB / 0.6214 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.1458, allocations: 0.9375 kB / 0.6214 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1459, allocations: 114.5 kB / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.1459, allocations: 384 / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.146, allocations: 384 / 0.6216 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1461, allocations: 50.23 kB / 0.6216 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1461, allocations: 4.188 kB / 0.6216 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1461, allocations: 3.938 kB / 0.6216 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1462, allocations: 0 / 0.6216 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1463, allocations: 47.94 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.1466, allocations: 204.5 kB / 0.6219 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1467, allocations: 42.5 kB / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.1468, allocations: 24.89 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1469, allocations: 3.938 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1469, allocations: 38.56 kB / 0.622 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1469, allocations: 0 / 0.622 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.1473, allocations: 93.58 kB / 0.622 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1473, allocations: 51.41 kB / 0.6221 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.1474, allocations: 105.8 kB / 0.6222 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1474, allocations: 29.64 kB / 0.6222 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1475, allocations: 88.06 kB / 0.6223 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1475, allocations: 11.95 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1475, allocations: 9.719 kB / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1477, allocations: 318.8 kB / 0.6226 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1478, allocations: 20.11 kB / 0.6227 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.1478, allocations: 15.98 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.148, allocations: 44.81 kB / 0.6227 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.148, allocations: 0 / 0.6227 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002129/0.1482, allocations: 77.62 kB / 0.6228 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1482, allocations: 8 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1482, allocations: 0 / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1482, allocations: 0 / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1483, allocations: 8 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1483, allocations: 3.984 kB / 0.6228 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.1484, allocations: 7.953 kB / 0.6228 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1484, allocations: 0 / 0.6228 GB, free: 13.96 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 (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 7.816e-05/0.1485, allocations: 113.8 kB / 0.6229 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1485, allocations: 7.922 kB / 0.6229 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.1487, allocations: 77.28 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1487, allocations: 0 / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1487, allocations: 0 / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1487, allocations: 3.938 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1489, allocations: 109.6 kB / 0.6231 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1489, allocations: 0 / 0.6231 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.1489, allocations: 11.98 kB / 0.6231 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1489, allocations: 3.938 kB / 0.6231 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1489, allocations: 4.031 kB / 0.6231 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1489, allocations: 4 kB / 0.6231 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1489, allocations: 0 / 0.6231 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1492, allocations: 163.5 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.1492, allocations: 7.891 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1492, allocations: 0 / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1493, allocations: 15.92 kB / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1493, allocations: 0 / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1493, allocations: 4 kB / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.1494, allocations: 95.23 kB / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1494, allocations: 0 / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002331/0.1496, allocations: 8 kB / 0.6234 GB, free: 13.29 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 (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.0001345/0.1497, allocations: 103.1 kB / 0.6235 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.15, allocations: 39.95 kB / 0.6235 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.15, allocations: 0 / 0.6235 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.1501, allocations: 24.05 kB / 0.6236 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1503, allocations: 5.25 kB / 0.6236 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.1506, allocations: 113.5 kB / 0.6237 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.1506, allocations: 59.3 kB / 0.6237 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.1506, allocations: 7.984 kB / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.1507, allocations: 8.5 kB / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1507, allocations: 0 / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.002763/0.1534, allocations: 0.5621 MB / 0.6243 GB, free: 12.33 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.977198297972791] Failed to read output from testmodel.py, exit status != 0: 0.16061536001507193 0.175561019 0.027251122000000003 Calling exit ...