Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001773/0.001773, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002314/0.002314, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.525/1.525, allocations: 225.6 MB / 251 MB, free: 13.01 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.8913/0.8913, allocations: 134 MB / 440.3 MB, free: 216 kB / 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction")
translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 73.34 kB / 0.6108 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2012, allocations: 84.72 MB / 0.6935 GB, free: 8.961 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002139/0.2033, allocations: 0.583 MB / 0.6941 GB, free: 8.379 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.002142/0.2055, allocations: 1.264 MB / 0.6953 GB, free: 7.098 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2055, allocations: 0 / 0.6953 GB, free: 7.098 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.2055, allocations: 0 / 0.6953 GB, free: 7.098 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.2055, allocations: 0 / 0.6953 GB, free: 7.098 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.2061, allocations: 67.75 kB / 0.6954 GB, free: 7.031 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.2061, allocations: 0 / 0.6954 GB, free: 7.031 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.2062, allocations: 0 / 0.6954 GB, free: 7.031 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.2062, allocations: 4 kB / 0.6954 GB, free: 7.027 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.2063, allocations: 0 / 0.6954 GB, free: 7.027 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2063, allocations: 4 kB / 0.6954 GB, free: 7.023 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.2066, allocations: 99.77 kB / 0.6955 GB, free: 6.926 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.2066, allocations: 0 / 0.6955 GB, free: 6.926 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.2067, allocations: 4 kB / 0.6955 GB, free: 6.922 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2068, allocations: 47.88 kB / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2068, allocations: 0 / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 3.297e-06/0.2068, allocations: 0 / 0.6955 GB, free: 6.875 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 8.937e-06/0.2069, allocations: 0 / 0.6955 GB, free: 6.875 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.0004801/0.2073, allocations: 254.3 kB / 0.6958 GB, free: 6.598 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2074, allocations: 8.031 kB / 0.6958 GB, free: 6.59 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.2074, allocations: 4.938 kB / 0.6958 GB, free: 6.586 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2076, allocations: 106.5 kB / 0.6959 GB, free: 6.457 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2076, allocations: 384 / 0.6959 GB, free: 6.457 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.2076, allocations: 384 / 0.6959 GB, free: 6.457 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.2078, allocations: 37.95 kB / 0.6959 GB, free: 6.414 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2078, allocations: 0 / 0.6959 GB, free: 6.414 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2078, allocations: 0 / 0.6959 GB, free: 6.414 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2078, allocations: 0 / 0.6959 GB, free: 6.414 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.2079, allocations: 4 kB / 0.6959 GB, free: 6.41 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.2081, allocations: 124.8 kB / 0.6961 GB, free: 6.246 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.2081, allocations: 14.58 kB / 0.6961 GB, free: 6.223 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.2082, allocations: 4.859 kB / 0.6961 GB, free: 6.215 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.2086, allocations: 43.98 kB / 0.6961 GB, free: 6.172 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.2086, allocations: 42.5 kB / 0.6962 GB, free: 6.121 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2086, allocations: 4 kB / 0.6962 GB, free: 6.117 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1): time 0.0001859/0.2088, allocations: 37.64 kB / 0.6962 GB, free: 6.074 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.2089, allocations: 51.41 kB / 0.6962 GB, free: 6.012 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.2089, allocations: 89.86 kB / 0.6963 GB, free: 5.914 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2089, allocations: 25.7 kB / 0.6964 GB, free: 5.883 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.209, allocations: 80.14 kB / 0.6964 GB, free: 5.801 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.209, allocations: 7.938 kB / 0.6964 GB, free: 5.793 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.2091, allocations: 13.84 kB / 0.6965 GB, free: 5.773 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001414/0.2092, allocations: 318.8 kB / 0.6968 GB, free: 5.453 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.2092, allocations: 0 / 0.6968 GB, free: 5.453 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.2092, allocations: 7.938 kB / 0.6968 GB, free: 5.445 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.2092, allocations: 4.859 kB / 0.6968 GB, free: 5.438 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2092, allocations: 0 / 0.6968 GB, free: 5.438 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.679e-05/0.2093, allocations: 33.7 kB / 0.6968 GB, free: 5.398 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.2093, allocations: 11.92 kB / 0.6968 GB, free: 5.387 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2093, allocations: 96 / 0.6968 GB, free: 5.387 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2094, allocations: 4 kB / 0.6968 GB, free: 5.383 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.2094, allocations: 4 kB / 0.6968 GB, free: 5.379 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2094, allocations: 3.984 kB / 0.6968 GB, free: 5.375 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.2094, allocations: 3.938 kB / 0.6968 GB, free: 5.371 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2094, allocations: 0 / 0.6968 GB, free: 5.371 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 (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 8.023e-05/0.2095, allocations: 113.8 kB / 0.6969 GB, free: 5.25 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-06/0.2095, allocations: 7.875 kB / 0.6969 GB, free: 5.242 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.2096, allocations: 40.69 kB / 0.697 GB, free: 5.199 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.2096, allocations: 0 / 0.697 GB, free: 5.199 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2096, allocations: 0 / 0.697 GB, free: 5.199 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.2096, allocations: 0 / 0.697 GB, free: 5.199 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2097, allocations: 116.8 kB / 0.6971 GB, free: 5.043 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2097, allocations: 0 / 0.6971 GB, free: 5.043 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.2097, allocations: 0 / 0.6971 GB, free: 5.043 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2097, allocations: 7.922 kB / 0.6971 GB, free: 5.035 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2097, allocations: 4 kB / 0.6971 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2097, allocations: 0 / 0.6971 GB, free: 5.031 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2098, allocations: 4.031 kB / 0.6971 GB, free: 5.027 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.483e-05/0.2098, allocations: 57.08 kB / 0.6972 GB, free: 4.953 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.2098, allocations: 4 kB / 0.6972 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2099, allocations: 3.938 kB / 0.6972 GB, free: 4.945 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.2099, allocations: 7.922 kB / 0.6972 GB, free: 4.938 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.2099, allocations: 0 / 0.6972 GB, free: 4.938 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2099, allocations: 4 kB / 0.6972 GB, free: 4.934 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 4.858e-05/0.2099, allocations: 83.31 kB / 0.6973 GB, free: 4.852 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 6e-08/0.2099, allocations: 0 / 0.6973 GB, free: 4.852 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0001936/0.2101, allocations: 8 kB / 0.6973 GB, free: 4.844 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 (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.0001906/0.2103, allocations: 103.2 kB / 0.6974 GB, free: 4.73 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 8.103e-05/0.2104, allocations: 7.984 kB / 0.6974 GB, free: 4.723 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2104, allocations: 0 / 0.6974 GB, free: 4.723 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.2104, allocations: 7.938 kB / 0.6974 GB, free: 4.715 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2105, allocations: 4.125 kB / 0.6974 GB, free: 4.711 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.2108, allocations: 88.86 kB / 0.6975 GB, free: 4.598 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2111, allocations: 0.669 MB / 0.6981 GB, free: 3.902 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 1.891e-05/0.2111, allocations: 0 / 0.6981 GB, free: 3.902 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.2111, allocations: 7.438 kB / 0.6981 GB, free: 3.895 MB / 0.5137 GB
Notification: Performance of SimCode: time 4.91e-07/0.2111, allocations: 0 / 0.6981 GB, free: 3.895 MB / 0.5137 GB
Notification: Performance of Templates: time 0.003028/0.2142, allocations: 306.3 kB / 0.6984 GB, free: 3.602 MB / 0.5137 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.760064467787743]
Failed to read output from testmodel.py, exit status != 0:
0.22161955572664738 0.23766056100000002 0.027524945000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff8eb7757b0>