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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.02 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.88/0.88, allocations: 134 MB / 440.3 MB, free: 0.6953 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.33 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1882, allocations: 84.73 MB / 0.6935 GB, free: 9.055 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003335/0.1915, allocations: 1.447 MB / 0.6949 GB, free: 7.594 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.0003719/0.1919, allocations: 88.66 kB / 0.695 GB, free: 7.504 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.1919, allocations: 4 kB / 0.695 GB, free: 7.5 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.192, allocations: 7.938 kB / 0.695 GB, free: 7.492 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.192, allocations: 3.938 kB / 0.695 GB, free: 7.488 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1923, allocations: 23.95 kB / 0.695 GB, free: 7.465 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.1924, allocations: 19.94 kB / 0.695 GB, free: 7.445 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1925, allocations: 7.984 kB / 0.695 GB, free: 7.438 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.1925, allocations: 11.88 kB / 0.6951 GB, free: 7.426 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.1926, allocations: 11.98 kB / 0.6951 GB, free: 7.414 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1926, allocations: 4 kB / 0.6951 GB, free: 7.41 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1927, allocations: 19.97 kB / 0.6951 GB, free: 7.391 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1928, allocations: 11.94 kB / 0.6951 GB, free: 7.379 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.1928, allocations: 15.88 kB / 0.6951 GB, free: 7.363 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1929, allocations: 43.81 kB / 0.6952 GB, free: 7.32 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1929, allocations: 0 / 0.6952 GB, free: 7.32 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.1929, allocations: 0 / 0.6952 GB, free: 7.32 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 5.29e-06/0.1929, allocations: 0 / 0.6952 GB, free: 7.32 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004833/0.1934, allocations: 266.3 kB / 0.6954 GB, free: 7.027 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1935, allocations: 16.02 kB / 0.6954 GB, free: 7.012 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1935, allocations: 4.891 kB / 0.6954 GB, free: 7.008 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1936, allocations: 106.5 kB / 0.6955 GB, free: 6.879 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1936, allocations: 4.375 kB / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1936, allocations: 384 / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1938, allocations: 50.23 kB / 0.6956 GB, free: 6.82 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1938, allocations: 192 / 0.6956 GB, free: 6.82 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1939, allocations: 7.938 kB / 0.6956 GB, free: 6.812 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1939, allocations: 0 / 0.6956 GB, free: 6.812 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.194, allocations: 39.89 kB / 0.6956 GB, free: 6.773 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.1944, allocations: 224.1 kB / 0.6958 GB, free: 6.512 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1945, allocations: 46.48 kB / 0.6959 GB, free: 6.457 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.1946, allocations: 20.91 kB / 0.6959 GB, free: 6.434 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1947, allocations: 4 kB / 0.6959 GB, free: 6.43 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1947, allocations: 38.5 kB / 0.6959 GB, free: 6.383 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1947, allocations: 0 / 0.6959 GB, free: 6.383 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=2): time 0.0003814/0.1951, allocations: 89.59 kB / 0.696 GB, free: 6.289 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1951, allocations: 55.39 kB / 0.6961 GB, free: 6.223 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.1952, allocations: 105.9 kB / 0.6962 GB, free: 6.109 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1953, allocations: 29.7 kB / 0.6962 GB, free: 6.074 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.1953, allocations: 92.19 kB / 0.6963 GB, free: 5.98 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1953, allocations: 7.953 kB / 0.6963 GB, free: 5.973 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1954, allocations: 13.72 kB / 0.6963 GB, free: 5.953 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001485/0.1955, allocations: 310.8 kB / 0.6966 GB, free: 5.641 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1956, allocations: 23.97 kB / 0.6966 GB, free: 5.617 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.1957, allocations: 19.92 kB / 0.6967 GB, free: 5.598 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1958, allocations: 48.83 kB / 0.6967 GB, free: 5.547 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1959, allocations: 0 / 0.6967 GB, free: 5.547 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.1961, allocations: 69.59 kB / 0.6968 GB, free: 5.473 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1961, allocations: 8 kB / 0.6968 GB, free: 5.465 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1961, allocations: 0 / 0.6968 GB, free: 5.465 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1961, allocations: 3.938 kB / 0.6968 GB, free: 5.461 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.1962, allocations: 8.016 kB / 0.6968 GB, free: 5.453 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1962, allocations: 4 kB / 0.6968 GB, free: 5.449 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.1962, allocations: 7.984 kB / 0.6968 GB, free: 5.441 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.1962, allocations: 4 kB / 0.6968 GB, free: 5.438 MB / 0.5137 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 8.837e-05/0.1963, allocations: 115.8 kB / 0.6969 GB, free: 5.316 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1964, allocations: 4 kB / 0.6969 GB, free: 5.312 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1966, allocations: 89.16 kB / 0.697 GB, free: 5.219 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1966, allocations: 0 / 0.697 GB, free: 5.219 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1966, allocations: 3.984 kB / 0.697 GB, free: 5.215 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1966, allocations: 0 / 0.697 GB, free: 5.215 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1968, allocations: 132.7 kB / 0.6971 GB, free: 5.043 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1968, allocations: 0 / 0.6971 GB, free: 5.043 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.1969, allocations: 11.98 kB / 0.6972 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1969, allocations: 0 / 0.6972 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1969, allocations: 0 / 0.6972 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1969, allocations: 0 / 0.6972 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1969, allocations: 0 / 0.6972 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1971, allocations: 175.4 kB / 0.6973 GB, free: 4.844 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.1971, allocations: 0 / 0.6973 GB, free: 4.844 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1972, allocations: 3.984 kB / 0.6973 GB, free: 4.84 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.1972, allocations: 4.25 kB / 0.6973 GB, free: 4.836 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.1973, allocations: 7.984 kB / 0.6973 GB, free: 4.828 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1973, allocations: 8.031 kB / 0.6973 GB, free: 4.82 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 4.866e-05/0.1973, allocations: 83.28 kB / 0.6974 GB, free: 4.738 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 0.6974 GB, free: 4.738 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002314/0.1976, allocations: 8 kB / 0.6974 GB, free: 4.73 MB / 0.5137 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.0001465/0.1977, allocations: 107.2 kB / 0.6975 GB, free: 4.617 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0002264/0.1979, allocations: 39.97 kB / 0.6976 GB, free: 4.578 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1979, allocations: 8 kB / 0.6976 GB, free: 4.57 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.198, allocations: 23.91 kB / 0.6976 GB, free: 4.547 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1983, allocations: 3.938 kB / 0.6976 GB, free: 4.543 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1986, allocations: 121.4 kB / 0.6977 GB, free: 4.398 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1989, allocations: 0.6807 MB / 0.6984 GB, free: 3.691 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 2.078e-05/0.1989, allocations: 0 / 0.6984 GB, free: 3.691 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.199, allocations: 15.5 kB / 0.6984 GB, free: 3.676 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.91e-07/0.199, allocations: 0 / 0.6984 GB, free: 3.676 MB / 0.5137 GB
Notification: Performance of Templates: time 0.002967/0.2019, allocations: 0.5443 MB / 0.6989 GB, free: 3.137 MB / 0.5137 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.907566479407251]
Failed to read output from testmodel.py, exit status != 0:
0.20998728927224874 0.22487386299999995 0.02871726099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1b653a97b0>