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.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 328 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.001508/0.001508, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.218/1.218, allocations: 154.8 MB / 414.3 MB, free: 476 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 178] 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 2.084e-06/2.084e-06, allocations: 0 / 0.5199 GB, free: 1.152 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.461e-05, allocations: 4.422 kB / 0.5199 GB, free: 1.148 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001745/0.00178, allocations: 0.6191 MB / 0.5205 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.004124, allocations: 1.307 MB / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.004164, allocations: 0 / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.004182, allocations: 5.156 kB / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.004214, allocations: 0 / 0.5218 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.004667, allocations: 84.22 kB / 0.5219 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.004743, allocations: 27.91 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.004779, allocations: 1.812 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.004821, allocations: 15.98 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.004898, allocations: 11.97 kB / 0.5219 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004915, allocations: 4 kB / 0.5219 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.005241, allocations: 109.2 kB / 0.522 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.005258, allocations: 7.984 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.005289, allocations: 7.984 kB / 0.5221 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.005487, allocations: 87.7 kB / 0.5221 GB, free: 14.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.005491, allocations: 0.5938 kB / 0.5221 GB, free: 14.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005492, allocations: 3.938 kB / 0.5221 GB, free: 14.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.005497, allocations: 1.188 kB / 0.5221 GB, free: 14.88 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.0005519/0.006049, allocations: 282.2 kB / 0.5224 GB, free: 14.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.006095, allocations: 8.75 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.006147, allocations: 4.938 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.006272, allocations: 110.3 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.006286, allocations: 1.625 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.006324, allocations: 16.31 kB / 0.5225 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.006487, allocations: 83.88 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.006499, allocations: 1.062 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006509, allocations: 384 / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.006517, allocations: 3.938 kB / 0.5226 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.006612, allocations: 28.53 kB / 0.5227 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.006822, allocations: 112.8 kB / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.006959, allocations: 50.56 kB / 0.5228 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.007027, allocations: 28.78 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.007294, allocations: 35.97 kB / 0.5229 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.007339, allocations: 38.56 kB / 0.5229 GB, free: 13.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.00734, allocations: 0 / 0.5229 GB, free: 13.98 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.02103/0.02837, allocations: 4.181 MB / 0.527 GB, free: 9.809 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.02843, allocations: 55.41 kB / 0.527 GB, free: 9.742 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.02853, allocations: 89.86 kB / 0.5271 GB, free: 9.645 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.02862, allocations: 29.7 kB / 0.5272 GB, free: 9.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.02867, allocations: 80.14 kB / 0.5272 GB, free: 9.527 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.02881, allocations: 59.53 kB / 0.5273 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.0291, allocations: 93.66 kB / 0.5274 GB, free: 9.371 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.0293, allocations: 314.8 kB / 0.5277 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.02992, allocations: 312.4 kB / 0.528 GB, free: 8.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.03051, allocations: 311.4 kB / 0.5283 GB, free: 8.449 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.03227, allocations: 0.774 MB / 0.529 GB, free: 7.672 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.03227, allocations: 0 / 0.529 GB, free: 7.672 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001862/0.03413, allocations: 0.8143 MB / 0.5298 GB, free: 6.855 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.03415, allocations: 4 kB / 0.5298 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.03415, allocations: 0 / 0.5298 GB, free: 6.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.03418, allocations: 4 kB / 0.5298 GB, free: 6.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.035, allocations: 99.88 kB / 0.5299 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.03501, allocations: 0 / 0.5299 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.03547, allocations: 4 kB / 0.5299 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.03557, allocations: 36.48 kB / 0.53 GB, free: 6.711 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.0002269/0.03579, allocations: 114.4 kB / 0.5301 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.03596, allocations: 20.39 kB / 0.5301 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/0.03955, allocations: 1.399 MB / 0.5315 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.03956, allocations: 4 kB / 0.5315 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.03956, allocations: 0 / 0.5315 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03957, allocations: 4 kB / 0.5315 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.04294, allocations: 1.672 MB / 0.5331 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.04295, allocations: 4.031 kB / 0.5331 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/0.04372, allocations: 107.9 kB / 0.5332 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.04373, allocations: 4 kB / 0.5332 GB, free: 3.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.04383, allocations: 27.98 kB / 0.5332 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.04384, allocations: 4 kB / 0.5332 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.04384, allocations: 0 / 0.5332 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.04681, allocations: 1.481 MB / 0.5347 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.04684, allocations: 15.91 kB / 0.5347 GB, free: 1.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.04693, allocations: 8 kB / 0.5347 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.04741, allocations: 12 kB / 0.5347 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.04758, allocations: 51.95 kB / 0.5348 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/0.04766, allocations: 28 kB / 0.5348 GB, free: 1.762 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.953e-05/0.04773, allocations: 79.28 kB / 0.5349 GB, free: 1.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04773, allocations: 0 / 0.5349 GB, free: 1.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006498/0.04838, allocations: 187.6 kB / 0.5351 GB, free: 1.5 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 (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.0006635/0.04905, allocations: 242.8 kB / 0.5353 GB, free: 1.254 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.05048, allocations: 0.7145 MB / 0.536 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.05048, allocations: 0 / 0.536 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007315/0.05121, allocations: 408.4 kB / 0.5364 GB, free: 144 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.05158, allocations: 36 kB / 0.5364 GB, free: 108 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.05515, allocations: 0.7875 MB / 0.5372 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.05527, allocations: 107.2 kB / 0.5373 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.05646, allocations: 293.5 kB / 0.5376 GB, free: 14.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.0571, allocations: 96.47 kB / 0.5377 GB, free: 14.78 MB / 474.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0571, allocations: 0 / 0.5377 GB, free: 14.78 MB / 474.7 MB Notification: Performance of Templates: time 0.02173/0.07883, allocations: 12 MB / 0.5494 GB, free: 2.914 MB / 474.7 MB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.951631461037323]