Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001468/0.001468, allocations: 110 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.0017/0.0017, allocations: 192.9 kB / 22.23 MB, free: 5.156 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.744/1.744, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.224/1.224, allocations: 177.9 MB / 484.2 MB, free: 5.352 MB / 382.1 MB
"
[Timeout remaining time 178]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 69.02 kB / 0.674 GB, free: 10.72 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6213, allocations: 95.16 MB / 0.767 GB, free: 7.949 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00214/0.6235, allocations: 0.6276 MB / 0.7676 GB, free: 7.719 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002163/0.6256, allocations: 1.293 MB / 0.7688 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.6257, allocations: 1.188 kB / 0.7688 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.6257, allocations: 0 / 0.7688 GB, free: 6.945 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 2.645e-05/0.6257, allocations: 7.938 kB / 0.7688 GB, free: 6.938 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.6263, allocations: 77.23 kB / 0.7689 GB, free: 6.902 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.6264, allocations: 20.06 kB / 0.7689 GB, free: 6.898 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.6264, allocations: 2.094 kB / 0.7689 GB, free: 6.898 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.6264, allocations: 15.88 kB / 0.769 GB, free: 6.891 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.6265, allocations: 15.97 kB / 0.769 GB, free: 6.883 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.6266, allocations: 1.344 kB / 0.769 GB, free: 6.883 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.6269, allocations: 94.2 kB / 0.7691 GB, free: 6.863 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.6269, allocations: 14.48 kB / 0.7691 GB, free: 6.852 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.6269, allocations: 18.75 kB / 0.7691 GB, free: 6.84 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.6271, allocations: 67.81 kB / 0.7692 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6271, allocations: 0 / 0.7692 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.215e-06/0.6271, allocations: 0 / 0.7692 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.613e-05/0.6271, allocations: 0 / 0.7692 GB, free: 6.824 MB / 0.5762 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.0005229/0.6277, allocations: 278.8 kB / 0.7694 GB, free: 6.551 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.6277, allocations: 13.03 kB / 0.7694 GB, free: 6.547 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.6278, allocations: 3.469 kB / 0.7694 GB, free: 6.547 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.6279, allocations: 103.7 kB / 0.7695 GB, free: 6.422 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6279, allocations: 6.969 kB / 0.7695 GB, free: 6.418 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.6279, allocations: 3 kB / 0.7696 GB, free: 6.418 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.6281, allocations: 60.19 kB / 0.7696 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6281, allocations: 1.562 kB / 0.7696 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.6281, allocations: 0 / 0.7696 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6281, allocations: 1.25 kB / 0.7696 GB, free: 6.371 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/0.6282, allocations: 28.45 kB / 0.7696 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.6284, allocations: 144.1 kB / 0.7698 GB, free: 6.191 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.6285, allocations: 63.09 kB / 0.7698 GB, free: 6.152 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.6286, allocations: 22.67 kB / 0.7699 GB, free: 6.137 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.6289, allocations: 34.84 kB / 0.7699 GB, free: 6.133 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.6289, allocations: 41.91 kB / 0.7699 GB, free: 6.086 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.6289, allocations: 4 kB / 0.7699 GB, free: 6.082 MB / 0.5762 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.02089/0.6498, allocations: 4.144 MB / 0.774 GB, free: 4.523 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6498, allocations: 53.62 kB / 0.774 GB, free: 4.461 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.6499, allocations: 102.2 kB / 0.7741 GB, free: 4.355 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.65, allocations: 26.92 kB / 0.7742 GB, free: 4.324 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 1.755e-05/0.65, allocations: 84.08 kB / 0.7742 GB, free: 4.238 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6501, allocations: 63.14 kB / 0.7743 GB, free: 4.188 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.6504, allocations: 91.95 kB / 0.7744 GB, free: 4.16 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 6.176e-05/0.6505, allocations: 320.1 kB / 0.7747 GB, free: 3.844 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.6511, allocations: 310.6 kB / 0.775 GB, free: 3.715 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.6517, allocations: 309.4 kB / 0.7753 GB, free: 3.59 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.6534, allocations: 0.7747 MB / 0.776 GB, free: 3.25 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6534, allocations: 3.281 kB / 0.776 GB, free: 3.25 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.00177/0.6552, allocations: 0.7956 MB / 0.7768 GB, free: 2.918 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6552, allocations: 6.375 kB / 0.7768 GB, free: 2.918 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6552, allocations: 0.6094 kB / 0.7768 GB, free: 2.918 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.6552, allocations: 1.094 kB / 0.7768 GB, free: 2.918 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/0.6561, allocations: 98.95 kB / 0.7769 GB, free: 2.91 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6561, allocations: 3.344 kB / 0.7769 GB, free: 2.91 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.6567, allocations: 4.641 kB / 0.7769 GB, free: 2.91 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6568, allocations: 41.08 kB / 0.777 GB, free: 2.902 MB / 0.5762 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.0002113/0.657, allocations: 122 kB / 0.7771 GB, free: 2.777 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.6571, allocations: 9.797 kB / 0.7771 GB, free: 2.77 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.6603, allocations: 1.399 MB / 0.7785 GB, free: 2.117 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6603, allocations: 3.719 kB / 0.7785 GB, free: 2.117 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6603, allocations: 0 / 0.7785 GB, free: 2.117 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.6603, allocations: 5.328 kB / 0.7785 GB, free: 2.117 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.6633, allocations: 1.787 MB / 0.7802 GB, free: 1.098 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6633, allocations: 0 / 0.7802 GB, free: 1.098 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.6641, allocations: 107.5 kB / 0.7803 GB, free: 1.094 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6641, allocations: 1.719 kB / 0.7803 GB, free: 1.094 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.6642, allocations: 31.22 kB / 0.7803 GB, free: 1.086 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6642, allocations: 0 / 0.7803 GB, free: 1.086 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6642, allocations: 4.969 kB / 0.7804 GB, free: 1.082 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.6666, allocations: 1.471 MB / 0.7818 GB, free: 328 kB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.6666, allocations: 22.08 kB / 0.7818 GB, free: 312 kB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.6667, allocations: 11.47 kB / 0.7818 GB, free: 304 kB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.6673, allocations: 13.98 kB / 0.7818 GB, free: 296 kB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6674, allocations: 41.44 kB / 0.7819 GB, free: 296 kB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.6675, allocations: 34.02 kB / 0.7819 GB, free: 288 kB / 0.5762 GB
Notification: Performance of sorting global known variables: time 2.404e-05/0.6675, allocations: 76.56 kB / 0.782 GB, free: 212 kB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.6675, allocations: 0 / 0.782 GB, free: 212 kB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0006721/0.6682, allocations: 181.1 kB / 0.7822 GB, free: 184 kB / 0.5762 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.0005172/0.6687, allocations: 222.5 kB / 0.7824 GB, free: 56 kB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001383/0.6701, allocations: 0.7129 MB / 0.7831 GB, free: 15.77 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.6701, allocations: 0 / 0.7831 GB, free: 15.77 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.6708, allocations: 405.8 kB / 0.7834 GB, free: 15.6 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.6712, allocations: 18.91 kB / 0.7835 GB, free: 15.59 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.6751, allocations: 0.8101 MB / 0.7843 GB, free: 15.22 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.6755, allocations: 0.7151 MB / 0.785 GB, free: 14.52 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.001203/0.6767, allocations: 296.8 kB / 0.7852 GB, free: 14.37 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.6774, allocations: 94.08 kB / 0.7853 GB, free: 14.36 MB / 0.5919 GB
Notification: Performance of SimCode: time 1.372e-06/0.6774, allocations: 0 / 0.7853 GB, free: 14.36 MB / 0.5919 GB
Notification: Performance of Templates: time 0.02775/0.7051, allocations: 11.74 MB / 0.7968 GB, free: 11.55 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.304330027662218]
Failed to read output from testmodel.py, exit status != 0:
0.7144035873934627 0.7309153509999999 0.100323721
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f24b04617b0>