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.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.002119/0.002119, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002786/0.002786, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.246/1.246, allocations: 154.6 MB / 414.1 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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 1.483e-06/1.483e-06, allocations: 0 / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.918e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001775/0.001804, allocations: 0.6279 MB / 0.5203 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.004014, allocations: 1.301 MB / 0.5216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.00404, allocations: 1.844 kB / 0.5216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.004056, allocations: 3.938 kB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.004085, allocations: 0 / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.00458, allocations: 85.28 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.004652, allocations: 23.97 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.004692, allocations: 3.984 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.00474, allocations: 19.92 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.004811, allocations: 7.984 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.00483, allocations: 9.406 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.005176, allocations: 111.8 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.005194, allocations: 7.984 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.005226, allocations: 8.906 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.005442, allocations: 83.81 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.005444, allocations: 0 / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005445, allocations: 0.9688 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005449, allocations: 0 / 0.5219 GB, free: 236 kB / 490.7 MB 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.0005262/0.005975, allocations: 283.1 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001585/0.006134, allocations: 8.031 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.006182, allocations: 5.438 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.006303, allocations: 114.7 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.006318, allocations: 4.375 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.006347, allocations: 4.375 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.006515, allocations: 81.16 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.006526, allocations: 192 / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.006536, allocations: 384 / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006543, allocations: 5.719 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.006616, allocations: 23.98 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.006791, allocations: 117.3 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.00693, allocations: 58.44 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.006978, allocations: 22.67 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.007265, allocations: 39.95 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.007312, allocations: 36.22 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 5.26e-06/0.007317, allocations: 3.984 kB / 0.5227 GB, free: 15.33 MB / 0.4948 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.02142/0.02873, allocations: 4.175 MB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.02879, allocations: 56.69 kB / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.02888, allocations: 89.86 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.02897, allocations: 29.7 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.02902, allocations: 80.64 kB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.02916, allocations: 65 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.02945, allocations: 89.67 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.02963, allocations: 318.8 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.03022, allocations: 307.9 kB / 0.5278 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.03083, allocations: 325.7 kB / 0.5281 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.03258, allocations: 0.7645 MB / 0.5288 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.03258, allocations: 0 / 0.5288 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001965/0.03455, allocations: 0.8198 MB / 0.5296 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.03457, allocations: 4 kB / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.03457, allocations: 0.5938 kB / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.0346, allocations: 4 kB / 0.5296 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.0354, allocations: 92.61 kB / 0.5297 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.03541, allocations: 0 / 0.5297 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.03591, allocations: 4.688 kB / 0.5297 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.036, allocations: 39.97 kB / 0.5298 GB, free: 8.055 MB / 0.4948 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.000232/0.03623, allocations: 115 kB / 0.5299 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.03638, allocations: 19.89 kB / 0.5299 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.03994, allocations: 1.397 MB / 0.5312 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.03995, allocations: 4 kB / 0.5312 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.03995, allocations: 0 / 0.5312 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.03996, allocations: 3.984 kB / 0.5313 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.04332, allocations: 1.668 MB / 0.5329 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.04332, allocations: 0 / 0.5329 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.04414, allocations: 107.9 kB / 0.533 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.04415, allocations: 4 kB / 0.533 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.04422, allocations: 28.03 kB / 0.533 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.04423, allocations: 4 kB / 0.533 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.04423, allocations: 0 / 0.533 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.04712, allocations: 1.486 MB / 0.5345 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.04715, allocations: 15.94 kB / 0.5345 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.04724, allocations: 8 kB / 0.5345 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.04774, allocations: 12 kB / 0.5345 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.04791, allocations: 47.94 kB / 0.5345 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.048, allocations: 28 kB / 0.5346 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.986e-05/0.04807, allocations: 79.28 kB / 0.5347 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.04807, allocations: 4.156 kB / 0.5347 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006582/0.04872, allocations: 187.6 kB / 0.5348 GB, free: 2.84 MB / 0.4948 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.0006498/0.04937, allocations: 242.7 kB / 0.5351 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.05083, allocations: 0.7184 MB / 0.5358 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.05083, allocations: 0 / 0.5358 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.05157, allocations: 395.7 kB / 0.5361 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.05193, allocations: 39.98 kB / 0.5362 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.05549, allocations: 0.7844 MB / 0.5369 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.0556, allocations: 103.4 kB / 0.537 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001173/0.05678, allocations: 297.5 kB / 0.5373 GB, free: 232 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/0.05742, allocations: 104.3 kB / 0.5374 GB, free: 128 kB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.05742, allocations: 0 / 0.5374 GB, free: 128 kB / 0.4948 GB Notification: Performance of Templates: time 0.02232/0.07974, allocations: 12 MB / 0.5491 GB, free: 4.262 MB / 0.5105 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.15305589500349]