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.000924/0.000924, allocations: 80.94 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.001068/0.001068, allocations: 173.4 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 0.9566/0.9566, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7654/0.7654, allocations: 154.9 MB / 415.1 MB, free: 224 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.443e-06/1.443e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.658e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00133/0.001347, allocations: 0.6325 MB / 481.1 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.002769, allocations: 1.354 MB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.002796, allocations: 0.5 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.002812, allocations: 5.625 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.002833, allocations: 0 / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.003221, allocations: 81.3 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.003286, allocations: 22.73 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.003328, allocations: 5.531 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.003367, allocations: 20.73 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.003447, allocations: 9.188 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.003463, allocations: 4.844 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.003748, allocations: 108.8 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.003765, allocations: 13.67 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.003784, allocations: 9.531 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.003937, allocations: 85.34 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003939, allocations: 0.625 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00394, allocations: 0.6875 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003944, allocations: 0 / 482.8 MB, free: 4.195 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.0003431/0.004287, allocations: 259.5 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.00432, allocations: 8.031 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.004347, allocations: 4.938 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.664e-05/0.004424, allocations: 113.8 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.004432, allocations: 384 / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.004462, allocations: 12.31 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.004547, allocations: 71.94 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004557, allocations: 6.203 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004564, allocations: 4.375 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.00457, allocations: 4.812 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.004607, allocations: 11.94 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.711e-05/0.004694, allocations: 78.05 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.004767, allocations: 42.62 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.004787, allocations: 22.62 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.004945, allocations: 45.22 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.005236, allocations: 34.56 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005237, allocations: 0.625 kB / 483.5 MB, free: 3.414 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.009664/0.0149, allocations: 4.693 MB / 488.2 MB, free: 14.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.01493, allocations: 51.41 kB / 488.2 MB, free: 14.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.01498, allocations: 100.6 kB / 488.3 MB, free: 14.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.01503, allocations: 30.86 kB / 488.3 MB, free: 14.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.01505, allocations: 80.14 kB / 488.4 MB, free: 14.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.01513, allocations: 63.45 kB / 488.5 MB, free: 14.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.01527, allocations: 46.25 kB / 488.5 MB, free: 14.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.01534, allocations: 314.8 kB / 488.8 MB, free: 14.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.01559, allocations: 312.5 kB / 489.1 MB, free: 13.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.01582, allocations: 313.2 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.01659, allocations: 0.8028 MB / 490.3 MB, free: 12.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01659, allocations: 0 / 490.3 MB, free: 12.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007997/0.01739, allocations: 0.75 MB / 491 MB, free: 11.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.0174, allocations: 8.625 kB / 491 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01741, allocations: 0 / 491 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01742, allocations: 6.062 kB / 491 MB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.01772, allocations: 47.88 kB / 491.1 MB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.01772, allocations: 0 / 491.1 MB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.01789, allocations: 11.94 kB / 491.1 MB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.01792, allocations: 7.984 kB / 491.1 MB, free: 11.76 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.0001197/0.01804, allocations: 110.6 kB / 491.2 MB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.01812, allocations: 20.42 kB / 491.2 MB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.01944, allocations: 0.9626 MB / 492.2 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01944, allocations: 4 kB / 492.2 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01945, allocations: 4 kB / 492.2 MB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01945, allocations: 7.984 kB / 492.2 MB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.0206, allocations: 0.9737 MB / 493.2 MB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0206, allocations: 3.984 kB / 493.2 MB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.02091, allocations: 73.45 kB / 493.2 MB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.02091, allocations: 0.625 kB / 493.2 MB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.02095, allocations: 8 kB / 493.2 MB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.02095, allocations: 0.9375 kB / 493.2 MB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02095, allocations: 4 kB / 493.3 MB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.02184, allocations: 0.8745 MB / 494.1 MB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.02185, allocations: 15.84 kB / 494.1 MB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.02191, allocations: 8 kB / 494.1 MB, free: 8.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.02208, allocations: 11.98 kB / 494.2 MB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.02215, allocations: 23.95 kB / 494.2 MB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.02218, allocations: 8 kB / 494.2 MB, free: 8.691 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.838e-06/0.02219, allocations: 9.516 kB / 494.2 MB, free: 8.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02219, allocations: 0 / 494.2 MB, free: 8.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.02258, allocations: 186.2 kB / 494.4 MB, free: 8.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.000343/0.02293, allocations: 235.9 kB / 494.6 MB, free: 8.262 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.02346, allocations: 0.5749 MB / 495.2 MB, free: 7.684 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02346, allocations: 0 / 495.2 MB, free: 7.684 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.02369, allocations: 258.7 kB / 495.4 MB, free: 7.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.02385, allocations: 19.94 kB / 495.5 MB, free: 7.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.02523, allocations: 0.5241 MB / 496 MB, free: 6.863 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.02528, allocations: 78.19 kB / 496.1 MB, free: 6.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006043/0.02588, allocations: 293.6 kB / 496.3 MB, free: 6.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.02636, allocations: 83.34 kB / 496.4 MB, free: 6.469 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02636, allocations: 0 / 496.4 MB, free: 6.469 MB / 458.7 MB Notification: Performance of Templates: time 0.01609/0.04245, allocations: 12.92 MB / 0.4974 GB, free: 9.703 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7858222401700914]