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.000832/0.000832, allocations: 93.06 kB / 19.65 MB, free: 280 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.000971/0.000971, allocations: 169 kB / 23.02 MB, free: 1.555 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.9237/0.9237, allocations: 154.8 MB / 414.7 MB, free: 456 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.463e-06/1.463e-06, allocations: 0 / 0.5206 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.032e-05, allocations: 2.812 kB / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001494/0.001514, allocations: 0.6291 MB / 0.5212 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.003045, allocations: 1.341 MB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.003069, allocations: 0 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.003087, allocations: 13.59 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.003106, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.00345, allocations: 79.66 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.003515, allocations: 21.38 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.003557, allocations: 4 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.003595, allocations: 19.92 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.003656, allocations: 7.984 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00367, allocations: 4.484 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.003885, allocations: 116.5 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.003897, allocations: 8 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.003918, allocations: 9.391 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004059, allocations: 87.81 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.004061, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004062, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.004067, allocations: 1.344 kB / 0.5229 GB, free: 15.54 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.0003542/0.004422, allocations: 380.1 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004461, allocations: 15.41 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.004498, allocations: 9.234 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.004576, allocations: 108.6 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004588, allocations: 4.375 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.004616, allocations: 12.36 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.004721, allocations: 71.94 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.00473, allocations: 192 / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004741, allocations: 8.312 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.004749, allocations: 3.938 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.004797, allocations: 24.53 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.004916, allocations: 121.2 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.005013, allocations: 67.53 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.005044, allocations: 20.56 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.005221, allocations: 41.42 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005243, allocations: 37.39 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.005244, allocations: 0 / 0.5238 GB, free: 14.51 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.01777/0.02302, allocations: 5.527 MB / 0.5292 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.02305, allocations: 59.41 kB / 0.5292 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.02313, allocations: 150.6 kB / 0.5294 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.02318, allocations: 30.64 kB / 0.5294 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.02322, allocations: 130.9 kB / 0.5295 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.02331, allocations: 67.42 kB / 0.5296 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.02353, allocations: 96.27 kB / 0.5297 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.02367, allocations: 0.4922 MB / 0.5302 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.02421, allocations: 465.7 kB / 0.5306 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.02475, allocations: 467.8 kB / 0.5311 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.02924, allocations: 1.072 MB / 0.5321 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02924, allocations: 4 kB / 0.5321 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001577/0.03082, allocations: 1.103 MB / 0.5332 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.03084, allocations: 9.531 kB / 0.5332 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.03085, allocations: 0 / 0.5332 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.03087, allocations: 0 / 0.5332 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/0.03541, allocations: 95.88 kB / 0.5333 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.03542, allocations: 0 / 0.5333 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.0357, allocations: 13.41 kB / 0.5333 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.03578, allocations: 31.98 kB / 0.5333 GB, free: 4.66 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.0001616/0.03594, allocations: 160.6 kB / 0.5335 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.03606, allocations: 21.42 kB / 0.5335 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/0.04144, allocations: 1.333 MB / 0.5348 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.04145, allocations: 7.984 kB / 0.5348 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.04145, allocations: 0 / 0.5348 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.04146, allocations: 3.984 kB / 0.5348 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.04376, allocations: 1.631 MB / 0.5364 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.04376, allocations: 0 / 0.5364 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.04426, allocations: 111.9 kB / 0.5365 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.04427, allocations: 0 / 0.5365 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.04433, allocations: 32.02 kB / 0.5366 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.04433, allocations: 4 kB / 0.5366 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04434, allocations: 0 / 0.5366 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.04624, allocations: 1.34 MB / 0.5379 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.04626, allocations: 15.91 kB / 0.5379 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.04632, allocations: 4 kB / 0.5379 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.04662, allocations: 12.08 kB / 0.5379 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.04675, allocations: 43.95 kB / 0.5379 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.04681, allocations: 31.98 kB / 0.538 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.04684, allocations: 123.2 kB / 0.5381 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.04685, allocations: 4.125 kB / 0.5381 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003543/0.05039, allocations: 187.5 kB / 0.5383 GB, free: 15.61 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.00044/0.05083, allocations: 242.7 kB / 0.5385 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.05194, allocations: 0.8763 MB / 0.5394 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.05194, allocations: 0 / 0.5394 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.05245, allocations: 415.9 kB / 0.5398 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.05277, allocations: 39.98 kB / 0.5398 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.05797, allocations: 0.7528 MB / 0.5405 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.05803, allocations: 81.34 kB / 0.5406 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008237/0.05885, allocations: 293.5 kB / 0.5409 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003481/0.06233, allocations: 100.5 kB / 0.541 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.06233, allocations: 0 / 0.541 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.01807/0.0804, allocations: 12.25 MB / 0.5529 GB, free: 0.6367 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: 4.220850325189531]