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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001198/0.001198, allocations: 173 kB / 23.49 MB, free: 1.055 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.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.8451/0.8451, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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 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 2.244e-06/2.244e-06, allocations: 0 / 0.5204 GB, free: 1.359 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.405e-05, allocations: 5.047 kB / 0.5204 GB, free: 1.355 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001616/0.00164, allocations: 0.621 MB / 0.521 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.003635, allocations: 1.34 MB / 0.5223 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.003668, allocations: 0 / 0.5223 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.003691, allocations: 8.688 kB / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.369e-05/0.003714, allocations: 0 / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.004165, allocations: 88.64 kB / 0.5224 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.004233, allocations: 15.98 kB / 0.5224 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.004279, allocations: 8.703 kB / 0.5224 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.004322, allocations: 15.92 kB / 0.5225 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.004401, allocations: 13.73 kB / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.004418, allocations: 0 / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.004726, allocations: 107.8 kB / 0.5226 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.004743, allocations: 11.98 kB / 0.5226 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.004767, allocations: 4.469 kB / 0.5226 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.004962, allocations: 95.69 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004965, allocations: 0.5625 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004965, allocations: 0.9688 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.004971, allocations: 0 / 0.5227 GB, free: 15.04 MB / 458.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.0004748/0.005445, allocations: 380.7 kB / 0.523 GB, free: 14.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.005492, allocations: 8.75 kB / 0.523 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.005543, allocations: 4.938 kB / 0.5231 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.005637, allocations: 109.5 kB / 0.5232 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.005652, allocations: 9.094 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.00568, allocations: 12.31 kB / 0.5232 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005794, allocations: 76.97 kB / 0.5232 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005805, allocations: 192 / 0.5232 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005815, allocations: 12.31 kB / 0.5233 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.005825, allocations: 5.719 kB / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.005878, allocations: 19.97 kB / 0.5233 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.00601, allocations: 124.6 kB / 0.5234 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.006107, allocations: 59.05 kB / 0.5235 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.006138, allocations: 25.36 kB / 0.5235 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.006326, allocations: 39.97 kB / 0.5235 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.006352, allocations: 42.08 kB / 0.5236 GB, free: 14.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.006353, allocations: 0 / 0.5236 GB, free: 14.01 MB / 458.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.01113/0.01748, allocations: 5.525 MB / 0.529 GB, free: 8.465 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.01752, allocations: 56.69 kB / 0.529 GB, free: 8.398 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.01759, allocations: 149.9 kB / 0.5292 GB, free: 8.234 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.01765, allocations: 29.7 kB / 0.5292 GB, free: 8.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.01768, allocations: 131.4 kB / 0.5293 GB, free: 8.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.01777, allocations: 61.06 kB / 0.5294 GB, free: 8.008 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.01793, allocations: 95.33 kB / 0.5295 GB, free: 7.906 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01804, allocations: 0.4922 MB / 0.5299 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.01847, allocations: 463.9 kB / 0.5304 GB, free: 6.949 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.01891, allocations: 468.9 kB / 0.5308 GB, free: 6.496 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.02007, allocations: 1.066 MB / 0.5319 GB, free: 5.426 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02008, allocations: 0 / 0.5319 GB, free: 5.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001268/0.02134, allocations: 1.117 MB / 0.533 GB, free: 4.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.02137, allocations: 8 kB / 0.533 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02137, allocations: 0 / 0.533 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.02139, allocations: 0.7188 kB / 0.533 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.02178, allocations: 91.95 kB / 0.5331 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.02179, allocations: 1.219 kB / 0.5331 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.022, allocations: 8 kB / 0.5331 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.02205, allocations: 35.97 kB / 0.5331 GB, free: 4.164 MB / 458.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.0001624/0.02221, allocations: 169.3 kB / 0.5333 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.02231, allocations: 15.89 kB / 0.5333 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.02423, allocations: 1.329 MB / 0.5346 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02424, allocations: 4 kB / 0.5346 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.02424, allocations: 7.984 kB / 0.5346 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.02425, allocations: 3.984 kB / 0.5346 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.02604, allocations: 1.627 MB / 0.5362 GB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02604, allocations: 0 / 0.5362 GB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.02641, allocations: 115.9 kB / 0.5363 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.02642, allocations: 0 / 0.5363 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.02646, allocations: 28 kB / 0.5363 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.02646, allocations: 0 / 0.5363 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02646, allocations: 0 / 0.5363 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.02799, allocations: 1.337 MB / 0.5376 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.028, allocations: 15.89 kB / 0.5376 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.02806, allocations: 4 kB / 0.5376 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.02827, allocations: 16.06 kB / 0.5377 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.02854, allocations: 51.88 kB / 0.5377 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.02858, allocations: 28 kB / 0.5377 GB, free: 15.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.02861, allocations: 123.2 kB / 0.5378 GB, free: 15.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02861, allocations: 0 / 0.5378 GB, free: 15.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.02902, allocations: 187.6 kB / 0.538 GB, free: 15.11 MB / 474.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 (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.0003969/0.02942, allocations: 245.5 kB / 0.5383 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.03034, allocations: 0.8782 MB / 0.5391 GB, free: 13.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.03034, allocations: 4.094 kB / 0.5391 GB, free: 13.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.03076, allocations: 419.6 kB / 0.5395 GB, free: 13.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.031, allocations: 35.61 kB / 0.5396 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.03275, allocations: 0.7644 MB / 0.5403 GB, free: 12.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.0328, allocations: 77.34 kB / 0.5404 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006281/0.03342, allocations: 289.5 kB / 0.5407 GB, free: 12.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.0338, allocations: 96.47 kB / 0.5407 GB, free: 12.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0338, allocations: 0 / 0.5407 GB, free: 12.27 MB / 474.7 MB Notification: Performance of Templates: time 0.01196/0.04576, allocations: 12.26 MB / 0.5527 GB, free: 144 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: 4.026933782035485]