Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001429/0.001429, allocations: 113.9 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.001451/0.001451, allocations: 189.5 kB / 22.23 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.06 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.8595/0.8595, allocations: 134 MB / 440.3 MB, free: 300 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 72.66 kB / 0.6108 GB, free: 13.79 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2057, allocations: 84.73 MB / 0.6935 GB, free: 9.129 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002409/0.2081, allocations: 0.6102 MB / 0.6941 GB, free: 8.52 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.002411/0.2105, allocations: 1.287 MB / 0.6954 GB, free: 7.215 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.2105, allocations: 4 kB / 0.6954 GB, free: 7.211 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.2105, allocations: 3.938 kB / 0.6954 GB, free: 7.207 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 2.39e-05/0.2106, allocations: 0 / 0.6954 GB, free: 7.207 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.211, allocations: 71.73 kB / 0.6955 GB, free: 7.137 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.2111, allocations: 23.92 kB / 0.6955 GB, free: 7.113 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.2112, allocations: 3.984 kB / 0.6955 GB, free: 7.109 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.2112, allocations: 15.98 kB / 0.6955 GB, free: 7.094 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.2113, allocations: 11.92 kB / 0.6955 GB, free: 7.082 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2113, allocations: 0 / 0.6955 GB, free: 7.082 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.2115, allocations: 103.9 kB / 0.6956 GB, free: 6.98 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2116, allocations: 0 / 0.6956 GB, free: 6.98 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2116, allocations: 11.94 kB / 0.6956 GB, free: 6.969 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2118, allocations: 71.77 kB / 0.6957 GB, free: 6.898 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2118, allocations: 0 / 0.6957 GB, free: 6.898 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.633e-06/0.2118, allocations: 0 / 0.6957 GB, free: 6.898 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 1.231e-05/0.2118, allocations: 0 / 0.6957 GB, free: 6.898 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0005083/0.2123, allocations: 270.2 kB / 0.6959 GB, free: 6.605 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2123, allocations: 8.031 kB / 0.6959 GB, free: 6.598 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.2124, allocations: 16.83 kB / 0.696 GB, free: 6.582 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2125, allocations: 114.4 kB / 0.6961 GB, free: 6.445 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2125, allocations: 4.375 kB / 0.6961 GB, free: 6.441 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2126, allocations: 4.375 kB / 0.6961 GB, free: 6.438 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2127, allocations: 57.98 kB / 0.6961 GB, free: 6.375 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2127, allocations: 0 / 0.6961 GB, free: 6.375 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2127, allocations: 4 kB / 0.6961 GB, free: 6.371 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.2127, allocations: 0 / 0.6961 GB, free: 6.371 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.27e-05/0.2128, allocations: 23.97 kB / 0.6962 GB, free: 6.348 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.213, allocations: 144.6 kB / 0.6963 GB, free: 6.164 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.2131, allocations: 58.5 kB / 0.6964 GB, free: 6.098 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.2132, allocations: 28.83 kB / 0.6964 GB, free: 6.066 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.2135, allocations: 35.97 kB / 0.6964 GB, free: 6.031 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.2135, allocations: 42.5 kB / 0.6965 GB, free: 5.98 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2135, allocations: 0 / 0.6965 GB, free: 5.98 MB / 0.5137 GB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: x
2: deltax
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=17): time 0.02057/0.2341, allocations: 4.073 MB / 0.7004 GB, free: 1.832 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2341, allocations: 55.41 kB / 0.7005 GB, free: 1.766 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.2342, allocations: 97.8 kB / 0.7006 GB, free: 1.66 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 8.349e-05/0.2343, allocations: 29.7 kB / 0.7006 GB, free: 1.625 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.2344, allocations: 84.14 kB / 0.7007 GB, free: 1.539 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.2345, allocations: 63.42 kB / 0.7008 GB, free: 1.477 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.2347, allocations: 89.67 kB / 0.7008 GB, free: 1.383 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001535/0.2349, allocations: 330.7 kB / 0.7012 GB, free: 1.051 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/0.2355, allocations: 303.9 kB / 0.7014 GB, free: 0.7539 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.236, allocations: 314.7 kB / 0.7017 GB, free: 460 kB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.2377, allocations: 0.7585 MB / 0.7025 GB, free: 15.68 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2377, allocations: 0 / 0.7025 GB, free: 15.68 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001709/0.2394, allocations: 0.793 MB / 0.7033 GB, free: 14.89 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2394, allocations: 8 kB / 0.7033 GB, free: 14.88 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2394, allocations: 0 / 0.7033 GB, free: 14.88 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2394, allocations: 0 / 0.7033 GB, free: 14.88 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.2403, allocations: 95.88 kB / 0.7034 GB, free: 14.79 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2403, allocations: 0 / 0.7034 GB, free: 14.79 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.2409, allocations: 12 kB / 0.7034 GB, free: 14.77 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.241, allocations: 39.97 kB / 0.7034 GB, free: 14.73 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 (18):
 * Single equations (assignments): 18
 * 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.0002247/0.2412, allocations: 113.8 kB / 0.7035 GB, free: 14.61 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.2413, allocations: 4 kB / 0.7035 GB, free: 14.61 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.2446, allocations: 1.392 MB / 0.7049 GB, free: 13.21 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.2447, allocations: 4 kB / 0.7049 GB, free: 13.21 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2447, allocations: 0 / 0.7049 GB, free: 13.21 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2447, allocations: 3.984 kB / 0.7049 GB, free: 13.2 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.2479, allocations: 1.786 MB / 0.7066 GB, free: 11.37 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.248, allocations: 0 / 0.7066 GB, free: 11.37 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/0.2488, allocations: 103.9 kB / 0.7067 GB, free: 11.27 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.2488, allocations: 4 kB / 0.7067 GB, free: 11.27 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.2489, allocations: 31.94 kB / 0.7068 GB, free: 11.23 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.2489, allocations: 12.03 kB / 0.7068 GB, free: 11.22 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2489, allocations: 0 / 0.7068 GB, free: 11.22 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.2515, allocations: 1.454 MB / 0.7082 GB, free: 9.746 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2515, allocations: 15.88 kB / 0.7082 GB, free: 9.73 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2516, allocations: 15.94 kB / 0.7082 GB, free: 9.715 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.2522, allocations: 8 kB / 0.7082 GB, free: 9.707 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.2524, allocations: 52 kB / 0.7083 GB, free: 9.656 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.2525, allocations: 28 kB / 0.7083 GB, free: 9.629 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 6.593e-05/0.2525, allocations: 75.28 kB / 0.7084 GB, free: 9.555 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 6e-08/0.2525, allocations: 0 / 0.7084 GB, free: 9.555 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0007319/0.2533, allocations: 171.7 kB / 0.7085 GB, free: 9.387 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (y_comp)
 * 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 (40):
 * Single equations (assignments): 40
 * 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.0006433/0.2539, allocations: 219.4 kB / 0.7088 GB, free: 9.164 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.001563/0.2555, allocations: 0.7183 MB / 0.7095 GB, free: 8.445 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.2555, allocations: 4.094 kB / 0.7095 GB, free: 8.441 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.2562, allocations: 403.7 kB / 0.7098 GB, free: 8.047 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2566, allocations: 16 kB / 0.7099 GB, free: 8.031 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2604, allocations: 0.8039 MB / 0.7106 GB, free: 7.199 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.2608, allocations: 0.7181 MB / 0.7113 GB, free: 6.449 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.001054/0.2619, allocations: 293.5 kB / 0.7116 GB, free: 6.164 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/0.2624, allocations: 91.41 kB / 0.7117 GB, free: 6.074 MB / 0.5294 GB
Notification: Performance of SimCode: time 1.433e-06/0.2624, allocations: 8 kB / 0.7117 GB, free: 6.066 MB / 0.5294 GB
Notification: Performance of Templates: time 0.02081/0.2832, allocations: 11.69 MB / 0.7231 GB, free: 10.44 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.0096291759982705]
Failed to read output from testmodel.py, exit status != 0:
0.29137889482080936 0.30701094900000003 0.092128794
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f92efc8d7b0>