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.0006999/0.0006999, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009362/0.001636, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001104/0.001104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002496, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9198/0.9198, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08748/1.007, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 0.772/0.772, allocations: 154.6 MB / 398.5 MB, free: 0.4961 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.256/1.028, allocations: 49.03 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [Timeout remaining time 179] 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.102e-06/1.102e-06, allocations: 0 / 448.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.163e-05, allocations: 4.281 kB / 449 MB, free: 5.324 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001341/0.001362, allocations: 0.6713 MB / 449.6 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002478, allocations: 1.353 MB / 451 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.0025, allocations: 4 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.38e-06/0.002505, allocations: 3.938 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.002511, allocations: 0.875 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.002736, allocations: 75.64 kB / 451.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.755e-05/0.002793, allocations: 17.19 kB / 451.1 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.002833, allocations: 8 kB / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.633e-05/0.002889, allocations: 21.72 kB / 451.1 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.002968, allocations: 10.94 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.002985, allocations: 4 kB / 451.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.003232, allocations: 115.8 kB / 451.2 MB, free: 3.086 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.003244, allocations: 6.406 kB / 451.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.003259, allocations: 5.094 kB / 451.2 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003396, allocations: 79.61 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.00341, allocations: 0 / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003411, allocations: 0 / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.003425, allocations: 0 / 451.3 MB, free: 3.004 MB / 426.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.0003352/0.00376, allocations: 270.3 kB / 451.6 MB, free: 2.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.003787, allocations: 9.094 kB / 451.6 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.003813, allocations: 4.938 kB / 451.6 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.003882, allocations: 112 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.003892, allocations: 4.375 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.003911, allocations: 4.375 kB / 451.7 MB, free: 2.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.003991, allocations: 76.5 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.004, allocations: 5.844 kB / 451.8 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.004006, allocations: 1.141 kB / 451.8 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004012, allocations: 3.938 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.004052, allocations: 19.97 kB / 451.8 MB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.802e-05/0.00413, allocations: 72.98 kB / 451.9 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.004198, allocations: 43.25 kB / 451.9 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.004217, allocations: 22.17 kB / 452 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.004376, allocations: 40.55 kB / 452 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.004399, allocations: 38.5 kB / 452 MB, free: 2.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.0044, allocations: 4 kB / 452 MB, free: 2.211 MB / 426.7 MB 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.01386/0.01826, allocations: 8.535 MB / 460.6 MB, free: 9.809 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.01829, allocations: 57.38 kB / 460.6 MB, free: 9.742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.01834, allocations: 98.7 kB / 460.7 MB, free: 9.633 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.01842, allocations: 25.7 kB / 460.8 MB, free: 9.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.01844, allocations: 85.92 kB / 460.8 MB, free: 9.516 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.01854, allocations: 60.19 kB / 460.9 MB, free: 9.457 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.01875, allocations: 61.58 kB / 461 MB, free: 9.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.01883, allocations: 319.7 kB / 461.3 MB, free: 9.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.01931, allocations: 0.6718 MB / 461.9 MB, free: 8.398 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.01981, allocations: 0.6729 MB / 462.6 MB, free: 7.727 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.02084, allocations: 1.428 MB / 464 MB, free: 6.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.02084, allocations: 0.7656 kB / 464 MB, free: 6.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001139/0.02198, allocations: 1.424 MB / 465.5 MB, free: 4.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.022, allocations: 13.19 kB / 465.5 MB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.02201, allocations: 1.125 kB / 465.5 MB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.02202, allocations: 0 / 465.5 MB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.02274, allocations: 131.7 kB / 465.6 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.02275, allocations: 2.344 kB / 465.6 MB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.02304, allocations: 16.66 kB / 465.6 MB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.02311, allocations: 11.95 kB / 465.6 MB, free: 4.699 MB / 442.7 MB 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.0001762/0.02329, allocations: 121.8 kB / 465.8 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.02342, allocations: 7.938 kB / 465.8 MB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.02674, allocations: 1.985 MB / 467.7 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.02675, allocations: 8 kB / 467.8 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.02675, allocations: 1.094 kB / 467.8 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.02676, allocations: 3.984 kB / 467.8 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.02887, allocations: 1.863 MB / 469.6 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02887, allocations: 0 / 469.6 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.02968, allocations: 199.8 kB / 469.8 MB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.0297, allocations: 39.62 kB / 469.9 MB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.02971, allocations: 4 kB / 469.9 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.02977, allocations: 19.98 kB / 469.9 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.02978, allocations: 8 kB / 469.9 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02978, allocations: 5.234 kB / 469.9 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.03132, allocations: 1.652 MB / 471.5 MB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.03143, allocations: 16 kB / 471.6 MB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.03174, allocations: 24 kB / 471.6 MB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.03188, allocations: 50.02 kB / 471.6 MB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.03195, allocations: 23.98 kB / 471.7 MB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.957e-06/0.03195, allocations: 4.859 kB / 471.7 MB, free: 14.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03195, allocations: 0 / 471.7 MB, free: 14.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.03246, allocations: 251.7 kB / 471.9 MB, free: 14.48 MB / 458.7 MB 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 (89): * Single equations (assignments): 89 * 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.0003861/0.03284, allocations: 256.8 kB / 472.2 MB, free: 14.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.03387, allocations: 1.234 MB / 473.4 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.03388, allocations: 4 kB / 473.4 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.03437, allocations: 0.5551 MB / 474 MB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.03463, allocations: 63.84 kB / 474 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.03696, allocations: 1.11 MB / 475.1 MB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.218e-05/0.03701, allocations: 108 kB / 475.2 MB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.0386, allocations: 0.7015 MB / 475.9 MB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.03962, allocations: 131.3 kB / 476.1 MB, free: 10.26 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/0.03962, allocations: 0 / 476.1 MB, free: 10.26 MB / 458.7 MB Notification: Performance of Templates: time 0.0237/0.06332, allocations: 25.93 MB / 0.4902 GB, free: 492 kB / 474.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.77660955209285]