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.001474/0.001474, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001568/0.001568, allocations: 213 kB / 22.24 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.8967/0.8967, allocations: 134 MB / 446.4 MB, free: 9.945 MB / 350.1 MB " [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.002077/0.002077, allocations: 71.02 kB / 0.619 GB, free: 6.371 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2381, allocations: 85.92 MB / 0.7029 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003202/0.2413, allocations: 1.448 MB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003669/0.2417, allocations: 96.66 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.2417, allocations: 0 / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.052e-05/0.2418, allocations: 3.938 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.2418, allocations: 7.922 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2421, allocations: 15.98 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.2422, allocations: 23.92 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2423, allocations: 7.984 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.2424, allocations: 11.94 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.2424, allocations: 3.984 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2424, allocations: 4 kB / 0.7045 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.2425, allocations: 19.98 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.2426, allocations: 15.92 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.2426, allocations: 4 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2427, allocations: 43.75 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2427, allocations: 4 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2427, allocations: 3.938 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2427, allocations: 0 / 0.7045 GB, free: 14.81 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.0004858/0.2432, allocations: 270.2 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2433, allocations: 12.03 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.2433, allocations: 4.875 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2434, allocations: 110.5 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2434, allocations: 384 / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2434, allocations: 384 / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2436, allocations: 54.23 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2436, allocations: 192 / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.2437, allocations: 3.938 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2437, allocations: 0 / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2439, allocations: 39.89 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.2443, allocations: 204.6 kB / 0.7052 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2444, allocations: 38.56 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2445, allocations: 28.89 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2445, allocations: 3.938 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2446, allocations: 34.56 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2446, allocations: 0 / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004536/0.245, allocations: 97.66 kB / 0.7054 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2451, allocations: 51.41 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2452, allocations: 109.8 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.2453, allocations: 25.7 kB / 0.7056 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.2454, allocations: 88.08 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2454, allocations: 7.953 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.2454, allocations: 17.7 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2456, allocations: 314.8 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.2457, allocations: 15.98 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.2458, allocations: 20.02 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.246, allocations: 40.81 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.246, allocations: 7.938 kB / 0.7061 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.2462, allocations: 73.59 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2462, allocations: 4 kB / 0.7061 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2462, allocations: 8.078 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2462, allocations: 4 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.2463, allocations: 7.984 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2463, allocations: 0 / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.2464, allocations: 7.953 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2464, allocations: 0 / 0.7062 GB, free: 12.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 0.0001025/0.2465, allocations: 113.8 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.2465, allocations: 7.875 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.2468, allocations: 85.22 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2468, allocations: 3.938 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2468, allocations: 0 / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2468, allocations: 0 / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.2469, allocations: 113.3 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2469, allocations: 0 / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.247, allocations: 7.984 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.247, allocations: 3.938 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.247, allocations: 4 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.247, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.247, allocations: 4.031 kB / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.2473, allocations: 167.5 kB / 0.7067 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.2473, allocations: 7.891 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2473, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.2474, allocations: 7.984 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.2474, allocations: 4 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.2474, allocations: 4.25 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2475, allocations: 87.27 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2475, allocations: 4.031 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002293/0.2477, allocations: 8 kB / 0.7068 GB, free: 12.28 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.0001688/0.2479, allocations: 99.19 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.2481, allocations: 43.95 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2481, allocations: 0 / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2482, allocations: 15.98 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2485, allocations: 20.05 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.2489, allocations: 109.6 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.2489, allocations: 63.2 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.249, allocations: 4 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.249, allocations: 7.438 kB / 0.7071 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.249, allocations: 0 / 0.7071 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.003371/0.2524, allocations: 0.5686 MB / 0.7077 GB, free: 11.31 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.89643419906497] Failed to read output from testmodel.py, exit status != 0: 0.26052315160632133 0.27812983199999997 0.032030007 Calling exit ...