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.0009586/0.0009586, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00093/0.00093, allocations: 181 kB / 23.36 MB, free: 1.133 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.117/1.117, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.844/0.844, allocations: 154.9 MB / 415.1 MB, free: 228 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.653e-06/1.653e-06, allocations: 0.5469 kB / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.246e-05, allocations: 10.02 kB / 480.5 MB, free: 6.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001338/0.00136, allocations: 0.6653 MB / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.002896, allocations: 1.36 MB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.002921, allocations: 1.062 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.002935, allocations: 0.7656 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.159e-05/0.002957, allocations: 0 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.003288, allocations: 78.95 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.003342, allocations: 20.52 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.00338, allocations: 2.609 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.00342, allocations: 18.45 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.003492, allocations: 16.73 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.003503, allocations: 0 / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.003757, allocations: 116.4 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.003773, allocations: 10.62 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.00379, allocations: 9.5 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.00393, allocations: 85.58 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003932, allocations: 0 / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003933, allocations: 0.6562 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003937, allocations: 0 / 482.9 MB, free: 4.078 MB / 442.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.0003067/0.004243, allocations: 260.8 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.004276, allocations: 8.031 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.004306, allocations: 16.28 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.318e-05/0.004379, allocations: 102.6 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.004389, allocations: 4.375 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.004408, allocations: 4.375 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.191e-05/0.0045, allocations: 75.92 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004508, allocations: 0.5312 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.004517, allocations: 384 / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.004523, allocations: 7.938 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.004564, allocations: 17.08 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.978e-05/0.004653, allocations: 69.84 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.004731, allocations: 54.62 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.004749, allocations: 17.72 kB / 483.5 MB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.004907, allocations: 49.5 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.00493, allocations: 30.56 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.004931, allocations: 0.625 kB / 483.6 MB, free: 3.293 MB / 442.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.009819/0.01475, allocations: 4.705 MB / 488.3 MB, free: 14.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.01478, allocations: 57.62 kB / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.01484, allocations: 98.72 kB / 488.4 MB, free: 14.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.01489, allocations: 29.7 kB / 488.4 MB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.01492, allocations: 80.14 kB / 488.5 MB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.015, allocations: 60.34 kB / 488.6 MB, free: 14.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.01514, allocations: 46.14 kB / 488.6 MB, free: 14.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.01523, allocations: 320.3 kB / 488.9 MB, free: 13.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.01549, allocations: 312 kB / 489.2 MB, free: 13.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.01574, allocations: 312 kB / 489.6 MB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.01658, allocations: 0.7951 MB / 490.3 MB, free: 12.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01658, allocations: 4.969 kB / 490.4 MB, free: 12.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000769/0.01735, allocations: 0.7475 MB / 491.1 MB, free: 11.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01737, allocations: 17.69 kB / 491.1 MB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01737, allocations: 0.9688 kB / 491.1 MB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01739, allocations: 4 kB / 491.1 MB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.01776, allocations: 48.92 kB / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01776, allocations: 0 / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.01793, allocations: 8 kB / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.01798, allocations: 8.953 kB / 491.2 MB, free: 11.63 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.0001348/0.01811, allocations: 117.8 kB / 491.3 MB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.01818, allocations: 13.59 kB / 491.3 MB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.01959, allocations: 0.9719 MB / 492.3 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01959, allocations: 4.5 kB / 492.3 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01959, allocations: 0 / 492.3 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.0196, allocations: 2.625 kB / 492.3 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.02083, allocations: 0.971 MB / 493.3 MB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.02084, allocations: 8 kB / 493.3 MB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.02122, allocations: 69.5 kB / 493.3 MB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.02122, allocations: 4 kB / 493.3 MB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.02126, allocations: 11.98 kB / 493.4 MB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.02127, allocations: 4 kB / 493.4 MB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.02127, allocations: 5.094 kB / 493.4 MB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.02223, allocations: 0.8682 MB / 494.2 MB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.02225, allocations: 17.11 kB / 494.3 MB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.02231, allocations: 12.84 kB / 494.3 MB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.02249, allocations: 8 kB / 494.3 MB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.02258, allocations: 25.11 kB / 494.3 MB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.02262, allocations: 11.98 kB / 494.3 MB, free: 8.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.069e-05/0.02263, allocations: 6.391 kB / 494.3 MB, free: 8.551 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02263, allocations: 0 / 494.3 MB, free: 8.551 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003833/0.02301, allocations: 179.7 kB / 494.5 MB, free: 8.375 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.0003523/0.02336, allocations: 245.8 kB / 494.7 MB, free: 8.129 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.02393, allocations: 0.571 MB / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.02394, allocations: 0 / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.0242, allocations: 261.3 kB / 495.6 MB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.02439, allocations: 24.55 kB / 495.6 MB, free: 7.273 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.02578, allocations: 0.5172 MB / 496.1 MB, free: 6.734 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.02583, allocations: 77.34 kB / 496.2 MB, free: 6.637 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.02647, allocations: 298.9 kB / 496.5 MB, free: 6.418 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.027, allocations: 83.34 kB / 496.5 MB, free: 6.336 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/0.027, allocations: 4 kB / 496.5 MB, free: 6.332 MB / 458.7 MB Notification: Performance of Templates: time 0.01335/0.04035, allocations: 12.91 MB / 0.4975 GB, free: 9.57 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8895038487389684]