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.004912/0.004912, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001236/0.001236, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9841/0.9841, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7814/0.7814, allocations: 154.9 MB / 415.9 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.522 GB, free: 1.434 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.583e-05, allocations: 2.312 kB / 0.522 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0011/0.001116, allocations: 0.6218 MB / 0.5226 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002426, allocations: 1.338 MB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.00245, allocations: 0 / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.002465, allocations: 0 / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.234e-05/0.002488, allocations: 0 / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.002814, allocations: 94.2 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.002865, allocations: 19.97 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.0029, allocations: 4 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.002928, allocations: 7.984 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.002996, allocations: 23.91 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.003008, allocations: 0 / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.003205, allocations: 108.4 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.003216, allocations: 4.969 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.00323, allocations: 7.984 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.00335, allocations: 87.77 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003352, allocations: 1.594 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003353, allocations: 3.984 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003357, allocations: 0 / 0.5242 GB, free: 15.13 MB / 0.4948 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.0003207/0.003677, allocations: 381 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.003709, allocations: 12.03 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.003739, allocations: 14.58 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.003813, allocations: 108.6 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.003823, allocations: 384 / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.00384, allocations: 8.375 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.548e-05/0.003916, allocations: 69.11 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003924, allocations: 192 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003931, allocations: 4.375 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003935, allocations: 4.625 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.208e-05/0.003977, allocations: 23.95 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.004079, allocations: 110.5 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.66e-05/0.004156, allocations: 51.05 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.004181, allocations: 29.03 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.004326, allocations: 36.5 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.004346, allocations: 41.88 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.004347, allocations: 1.875 kB / 0.5251 GB, free: 14.14 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.01018/0.01452, allocations: 5.197 MB / 0.5302 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.01456, allocations: 51.41 kB / 0.5302 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.01462, allocations: 157.9 kB / 0.5304 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.01468, allocations: 29.7 kB / 0.5304 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.0147, allocations: 126.9 kB / 0.5305 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.01478, allocations: 60.31 kB / 0.5306 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.01494, allocations: 103.3 kB / 0.5307 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01506, allocations: 0.4909 MB / 0.5311 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.01536, allocations: 395.8 kB / 0.5315 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.01567, allocations: 399.9 kB / 0.5319 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.01677, allocations: 0.9314 MB / 0.5328 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01677, allocations: 0 / 0.5328 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009309/0.0177, allocations: 0.9778 MB / 0.5338 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01771, allocations: 5.875 kB / 0.5338 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01771, allocations: 1.219 kB / 0.5338 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.01772, allocations: 3.938 kB / 0.5338 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.01809, allocations: 91.95 kB / 0.5339 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.01809, allocations: 4.875 kB / 0.5339 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.0183, allocations: 7.984 kB / 0.5339 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.01835, allocations: 36.67 kB / 0.5339 GB, free: 5.02 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.0001287/0.01848, allocations: 168.5 kB / 0.5341 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.01857, allocations: 16.61 kB / 0.5341 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.02015, allocations: 1.207 MB / 0.5353 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.02015, allocations: 4 kB / 0.5353 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02016, allocations: 0 / 0.5353 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02016, allocations: 7.984 kB / 0.5353 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.02165, allocations: 1.491 MB / 0.5367 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02165, allocations: 3.938 kB / 0.5367 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.02203, allocations: 107.9 kB / 0.5368 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.02204, allocations: 4 kB / 0.5368 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.02208, allocations: 24 kB / 0.5369 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.02208, allocations: 0 / 0.5369 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02208, allocations: 4 kB / 0.5369 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.02326, allocations: 1.141 MB / 0.538 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.02328, allocations: 15.91 kB / 0.538 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.02334, allocations: 8 kB / 0.538 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.02356, allocations: 16 kB / 0.538 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.02365, allocations: 43.95 kB / 0.5381 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.0237, allocations: 27.98 kB / 0.5381 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.02373, allocations: 119.2 kB / 0.5382 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02373, allocations: 0 / 0.5382 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004189/0.02415, allocations: 183.6 kB / 0.5384 GB, free: 452 kB / 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.0004127/0.02457, allocations: 254.9 kB / 0.5386 GB, free: 188 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007233/0.02529, allocations: 0.7454 MB / 0.5393 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02529, allocations: 0 / 0.5393 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.02591, allocations: 359.9 kB / 0.5397 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.02613, allocations: 38.56 kB / 0.5397 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.02768, allocations: 0.7018 MB / 0.5404 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.02773, allocations: 77.33 kB / 0.5405 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006147/0.02834, allocations: 293.5 kB / 0.5408 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/0.02885, allocations: 166.2 kB / 0.5409 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.02885, allocations: 0 / 0.5409 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.01262/0.04147, allocations: 13.29 MB / 0.5539 GB, free: 0.582 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9553303821012378]