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.001246/0.001246, allocations: 93.06 kB / 19.65 MB, free: 276 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.001459/0.001459, allocations: 169 kB / 23.02 MB, free: 1.547 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8204/0.8204, allocations: 154.9 MB / 414.8 MB, free: 396 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 9.22e-07/9.22e-07, allocations: 0.875 kB / 0.5208 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.177e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00094/0.0009518, allocations: 0.6177 MB / 0.5214 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.002304, allocations: 1.345 MB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.00232, allocations: 0.5938 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.317e-06/0.002329, allocations: 5.906 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 1.04e-05/0.002339, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.002581, allocations: 83.59 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.051e-05/0.002611, allocations: 19.98 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 1.617e-05/0.002627, allocations: 4.562 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.002648, allocations: 15.97 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.002684, allocations: 12.67 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.002692, allocations: 4 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.002866, allocations: 112.3 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.002876, allocations: 9.422 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.002891, allocations: 7.984 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.003003, allocations: 91.69 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.003004, allocations: 4 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003005, allocations: 0.7812 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.003008, allocations: 0 / 0.523 GB, free: 15.41 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.0002885/0.003297, allocations: 377.1 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.105e-05/0.003318, allocations: 10.94 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.003345, allocations: 9.234 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.003414, allocations: 112.6 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.003424, allocations: 4.375 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.00344, allocations: 4.375 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.003513, allocations: 75.89 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.00352, allocations: 4.172 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.003526, allocations: 4.359 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003531, allocations: 4.562 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.003571, allocations: 25.19 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.53e-05/0.003656, allocations: 116.6 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.003731, allocations: 59.05 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.003757, allocations: 28.64 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.003888, allocations: 44.83 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.003909, allocations: 38.2 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.00391, allocations: 0 / 0.5239 GB, free: 14.39 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.01042/0.01433, allocations: 5.527 MB / 0.5293 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.01436, allocations: 56.16 kB / 0.5294 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.01441, allocations: 156.1 kB / 0.5295 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.01447, allocations: 29.7 kB / 0.5295 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.01464, allocations: 126.9 kB / 0.5297 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.01472, allocations: 59.48 kB / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.01487, allocations: 95.31 kB / 0.5298 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.01497, allocations: 0.4884 MB / 0.5303 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.01537, allocations: 472.7 kB / 0.5307 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.01576, allocations: 459.9 kB / 0.5312 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.01688, allocations: 1.078 MB / 0.5322 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01688, allocations: 3.938 kB / 0.5322 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001137/0.01801, allocations: 1.107 MB / 0.5333 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01803, allocations: 5.719 kB / 0.5333 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.01803, allocations: 0 / 0.5333 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.01804, allocations: 4 kB / 0.5333 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.0184, allocations: 98.62 kB / 0.5334 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.0184, allocations: 0 / 0.5334 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.01859, allocations: 11.94 kB / 0.5334 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.01865, allocations: 31.98 kB / 0.5335 GB, free: 4.539 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.0001275/0.01877, allocations: 164.6 kB / 0.5336 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.01887, allocations: 15.89 kB / 0.5336 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.02057, allocations: 1.332 MB / 0.5349 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.02058, allocations: 8 kB / 0.5349 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.02058, allocations: 3.938 kB / 0.5349 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.02058, allocations: 0 / 0.5349 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.02232, allocations: 1.639 MB / 0.5365 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02232, allocations: 0 / 0.5365 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.02267, allocations: 107.9 kB / 0.5366 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.02268, allocations: 4 kB / 0.5366 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.02272, allocations: 27.98 kB / 0.5367 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02272, allocations: 4 kB / 0.5367 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02273, allocations: 0 / 0.5367 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.02425, allocations: 1.332 MB / 0.538 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.02427, allocations: 15.95 kB / 0.538 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.02432, allocations: 15.94 kB / 0.538 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.02452, allocations: 8 kB / 0.538 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.02462, allocations: 43.95 kB / 0.5381 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.02466, allocations: 32 kB / 0.5381 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.02468, allocations: 119.2 kB / 0.5382 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02468, allocations: 0 / 0.5382 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003687/0.02505, allocations: 191.5 kB / 0.5384 GB, free: 15.48 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.0003349/0.02539, allocations: 246.7 kB / 0.5386 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008092/0.0262, allocations: 0.8783 MB / 0.5395 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.0262, allocations: 0 / 0.5395 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.02657, allocations: 420 kB / 0.5399 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.02677, allocations: 43.92 kB / 0.5399 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.02834, allocations: 0.7488 MB / 0.5407 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.02838, allocations: 77.34 kB / 0.5407 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005771/0.02895, allocations: 293.5 kB / 0.541 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.02934, allocations: 96.47 kB / 0.5411 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.02934, allocations: 0 / 0.5411 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.0125/0.04184, allocations: 13.02 MB / 0.5538 GB, free: 15.74 MB / 0.5261 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.8816267643123865]