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.001875/0.001875, allocations: 85.48 kB / 19.44 MB, free: 336 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.002096/0.002096, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.328/1.328, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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.513e-06/1.513e-06, allocations: 0 / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.878e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001707/0.001736, allocations: 0.6334 MB / 0.5203 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.003779, allocations: 1.317 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.003802, allocations: 0 / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.00382, allocations: 3.938 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.602e-05/0.003846, allocations: 5.594 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.00425, allocations: 79.66 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.004307, allocations: 20.5 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.004345, allocations: 11.92 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.004385, allocations: 9.031 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.004453, allocations: 11.98 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.004471, allocations: 3.984 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.004783, allocations: 112.9 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.004797, allocations: 7.875 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.004824, allocations: 12.64 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.005028, allocations: 87.81 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005031, allocations: 1.031 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005032, allocations: 0 / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005036, allocations: 0 / 0.5219 GB, free: 188 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.0006064/0.005642, allocations: 377.7 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.005683, allocations: 12.03 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.005735, allocations: 8.938 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.005848, allocations: 109.7 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.00586, allocations: 4.312 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.005887, allocations: 12.31 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.006047, allocations: 76.62 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.006061, allocations: 5.469 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.00607, allocations: 384 / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.006076, allocations: 3.938 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.006155, allocations: 23.98 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.006337, allocations: 121.9 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.006483, allocations: 70.97 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.006535, allocations: 27.67 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.006797, allocations: 37.58 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.006837, allocations: 40.08 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.006838, allocations: 0 / 0.5228 GB, free: 15.15 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.02328/0.03011, allocations: 6.004 MB / 0.5287 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.03017, allocations: 52.16 kB / 0.5287 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.0303, allocations: 155.6 kB / 0.5289 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.03037, allocations: 33.64 kB / 0.5289 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.03044, allocations: 130.9 kB / 0.529 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.03058, allocations: 63.47 kB / 0.5291 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.03088, allocations: 103.3 kB / 0.5292 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002844/0.03116, allocations: 0.4936 MB / 0.5297 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.03203, allocations: 0.5468 MB / 0.5302 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.0329, allocations: 0.5506 MB / 0.5308 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.03515, allocations: 1.279 MB / 0.532 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.03515, allocations: 0.9375 kB / 0.532 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00259/0.03774, allocations: 1.306 MB / 0.5333 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.03776, allocations: 7.375 kB / 0.5333 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03776, allocations: 4 kB / 0.5333 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.03778, allocations: 0 / 0.5333 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.03868, allocations: 95.88 kB / 0.5334 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.03869, allocations: 0 / 0.5334 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.03927, allocations: 8 kB / 0.5334 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.03936, allocations: 35.98 kB / 0.5334 GB, free: 4.219 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.0002428/0.0396, allocations: 160.6 kB / 0.5336 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.03975, allocations: 20.86 kB / 0.5336 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.04351, allocations: 1.509 MB / 0.5351 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.04352, allocations: 4 kB / 0.5351 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.04352, allocations: 0 / 0.5351 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.04353, allocations: 3.984 kB / 0.5351 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.04707, allocations: 1.838 MB / 0.5369 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.04707, allocations: 0 / 0.5369 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/0.04795, allocations: 103.9 kB / 0.537 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.04796, allocations: 8.031 kB / 0.537 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.04804, allocations: 31.98 kB / 0.537 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.04805, allocations: 4 kB / 0.537 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04805, allocations: 0 / 0.537 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.05108, allocations: 1.692 MB / 0.5387 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.0511, allocations: 15.84 kB / 0.5387 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.0512, allocations: 8 kB / 0.5387 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.05176, allocations: 8 kB / 0.5387 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.05193, allocations: 43.95 kB / 0.5387 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.05202, allocations: 35.98 kB / 0.5388 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.05209, allocations: 123.2 kB / 0.5389 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.05209, allocations: 0 / 0.5389 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006541/0.05274, allocations: 183.6 kB / 0.5391 GB, free: 14.43 MB / 0.5105 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.0005765/0.05332, allocations: 250.6 kB / 0.5393 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.05531, allocations: 1.048 MB / 0.5403 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.05531, allocations: 0 / 0.5403 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.05614, allocations: 495.6 kB / 0.5408 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.05648, allocations: 39.98 kB / 0.5408 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.06037, allocations: 0.8543 MB / 0.5417 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.06049, allocations: 99.31 kB / 0.5418 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001142/0.06163, allocations: 301.5 kB / 0.5421 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.06221, allocations: 96.47 kB / 0.5422 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.06221, allocations: 0 / 0.5422 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.02211/0.08433, allocations: 12.25 MB / 0.5541 GB, free: 15.09 MB / 0.5261 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.341857812018134]