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.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.001442/0.001442, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002439/0.002439, allocations: 216.4 kB / 22.25 MB, free: 5.258 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.281/1.281, allocations: 203.8 MB / 0.5041 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.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: 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.002225/0.002225, allocations: 73.77 kB / 0.7187 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6152/0.6174, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001948/0.6194, allocations: 0.6198 MB / 0.8189 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.6212, allocations: 1.303 MB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.6212, allocations: 0 / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.6212, allocations: 0 / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.87e-05/0.6213, allocations: 0.9062 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.6217, allocations: 85.94 kB / 0.8203 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.6218, allocations: 31.61 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.6218, allocations: 3.094 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.6219, allocations: 8.609 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.6219, allocations: 15.48 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.622, allocations: 2.312 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.6223, allocations: 106.8 kB / 0.8204 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.6223, allocations: 11.66 kB / 0.8204 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.6223, allocations: 12.59 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.6225, allocations: 77.67 kB / 0.8205 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6225, allocations: 2.938 kB / 0.8205 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6225, allocations: 0 / 0.8205 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6225, allocations: 0 / 0.8205 GB, free: 27.48 MB / 0.6387 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.00051/0.623, allocations: 278.7 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6231, allocations: 12.81 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.6231, allocations: 6.625 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.6232, allocations: 105.6 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.6232, allocations: 5.906 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.6233, allocations: 9.297 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.6234, allocations: 85.55 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6234, allocations: 0.6562 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6234, allocations: 1.578 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6235, allocations: 2.094 kB / 0.821 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.6235, allocations: 27.08 kB / 0.821 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.6237, allocations: 114.4 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6238, allocations: 54.89 kB / 0.8212 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.6238, allocations: 23.14 kB / 0.8212 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.6241, allocations: 41.94 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.6242, allocations: 32.88 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.6242, allocations: 2.812 kB / 0.8213 GB, free: 26.75 MB / 0.6387 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.02239/0.6466, allocations: 4.165 MB / 0.8254 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6466, allocations: 52.88 kB / 0.8254 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.798e-05/0.6466, allocations: 93.55 kB / 0.8255 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.6467, allocations: 33.64 kB / 0.8255 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.504e-05/0.6467, allocations: 85.34 kB / 0.8256 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6469, allocations: 63.58 kB / 0.8257 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.6471, allocations: 93.81 kB / 0.8258 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.6472, allocations: 322.7 kB / 0.8261 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.6477, allocations: 307.9 kB / 0.8264 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.6483, allocations: 319 kB / 0.8267 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.6498, allocations: 0.7686 MB / 0.8274 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6498, allocations: 6.031 kB / 0.8274 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001592/0.6514, allocations: 0.8029 MB / 0.8282 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6514, allocations: 5.844 kB / 0.8282 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6514, allocations: 0 / 0.8282 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6515, allocations: 1.25 kB / 0.8282 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.6523, allocations: 91.2 kB / 0.8283 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6523, allocations: 1.156 kB / 0.8283 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.6528, allocations: 9.719 kB / 0.8283 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/0.6529, allocations: 33.34 kB / 0.8283 GB, free: 23.59 MB / 0.6387 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.0001744/0.6531, allocations: 131.3 kB / 0.8285 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.6531, allocations: 7.391 kB / 0.8285 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.6563, allocations: 1.405 MB / 0.8299 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6563, allocations: 4.594 kB / 0.8299 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6563, allocations: 1.188 kB / 0.8299 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6563, allocations: 1.828 kB / 0.8299 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.6592, allocations: 1.658 MB / 0.8315 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6592, allocations: 0.9062 kB / 0.8315 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.6599, allocations: 109.2 kB / 0.8316 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.66, allocations: 3.328 kB / 0.8316 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.66, allocations: 31.23 kB / 0.8316 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.66, allocations: 1.781 kB / 0.8316 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.66, allocations: 3.938 kB / 0.8316 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.6623, allocations: 1.475 MB / 0.8331 GB, free: 21.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.6624, allocations: 9.703 kB / 0.8331 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.6624, allocations: 12.09 kB / 0.8331 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.6629, allocations: 9.562 kB / 0.8331 GB, free: 21.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6631, allocations: 48.64 kB / 0.8331 GB, free: 21.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.6632, allocations: 32.69 kB / 0.8332 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.6632, allocations: 77.09 kB / 0.8332 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6632, allocations: 0 / 0.8332 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006725/0.6639, allocations: 186 kB / 0.8334 GB, free: 20.93 MB / 0.6387 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.0005021/0.6644, allocations: 224.7 kB / 0.8336 GB, free: 20.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.6656, allocations: 0.7176 MB / 0.8343 GB, free: 20.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6656, allocations: 1.469 kB / 0.8343 GB, free: 20.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.6664, allocations: 408.9 kB / 0.8347 GB, free: 20.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.6668, allocations: 17.66 kB / 0.8347 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.6704, allocations: 0.7913 MB / 0.8355 GB, free: 19.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.6705, allocations: 104.6 kB / 0.8356 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001099/0.6716, allocations: 293.8 kB / 0.8359 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.6722, allocations: 94.02 kB / 0.836 GB, free: 19.72 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.6722, allocations: 0 / 0.836 GB, free: 19.72 MB / 0.6387 GB Notification: Performance of Templates: time 0.02274/0.6949, allocations: 12.03 MB / 0.8477 GB, free: 16.77 MB / 0.6387 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.1078749895095825] Failed to read output from testmodel.py, exit status != 0: 0.7035121265798807 0.715620849 0.09043936200000001 Calling exit ...