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.001049/0.001049, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002418, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001087/0.001087, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002395, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08616/1.002, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8216/0.8216, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.27/1.092, allocations: 49.13 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.583e-06/1.583e-06, allocations: 0 / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.321e-05, allocations: 3.156 kB / 449.8 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001803/0.001826, allocations: 0.6696 MB / 450.4 MB, free: 4.023 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003498, allocations: 1.358 MB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.003519, allocations: 1.906 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.431e-06/0.003524, allocations: 0 / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.003531, allocations: 0 / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.003767, allocations: 69.14 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.003826, allocations: 26.11 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.003865, allocations: 1.266 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.003915, allocations: 18.8 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.003986, allocations: 16.62 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.003998, allocations: 0.5469 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.004229, allocations: 121.2 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.004241, allocations: 5.75 kB / 452 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.004256, allocations: 6.734 kB / 452 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004391, allocations: 74.16 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.004407, allocations: 0 / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004408, allocations: 0 / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.004426, allocations: 4 kB / 452.1 MB, free: 2.34 MB / 426.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.0003658/0.004791, allocations: 265.6 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.004821, allocations: 12.66 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.004852, allocations: 14.59 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.004932, allocations: 107.8 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.004945, allocations: 8.359 kB / 452.5 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.004968, allocations: 4.375 kB / 452.5 MB, free: 1.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.005055, allocations: 69.95 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005064, allocations: 2.203 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005073, allocations: 4.359 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005078, allocations: 3.938 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.005116, allocations: 12 kB / 452.6 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.962e-05/0.005205, allocations: 72.98 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.005282, allocations: 51.34 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.005301, allocations: 18.72 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.005471, allocations: 41.66 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.005493, allocations: 35.44 kB / 452.8 MB, free: 1.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.005494, allocations: 1.5 kB / 452.8 MB, free: 1.555 MB / 426.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.01472/0.02021, allocations: 8.544 MB / 461.4 MB, free: 9.145 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.02025, allocations: 52.34 kB / 461.4 MB, free: 9.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.02031, allocations: 98.72 kB / 461.5 MB, free: 8.973 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.02039, allocations: 28.17 kB / 461.6 MB, free: 8.941 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.02042, allocations: 89.91 kB / 461.6 MB, free: 8.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.02053, allocations: 59.47 kB / 461.7 MB, free: 8.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.02074, allocations: 57.59 kB / 461.8 MB, free: 8.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.02082, allocations: 322.8 kB / 462.1 MB, free: 8.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.02132, allocations: 0.6647 MB / 462.7 MB, free: 7.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.02183, allocations: 0.6688 MB / 463.4 MB, free: 7.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.02288, allocations: 1.437 MB / 464.8 MB, free: 5.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02289, allocations: 0 / 464.8 MB, free: 5.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001203/0.02409, allocations: 1.428 MB / 466.3 MB, free: 4.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.02411, allocations: 7.938 kB / 466.3 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02412, allocations: 0 / 466.3 MB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.02414, allocations: 9.375 kB / 466.3 MB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.02488, allocations: 127.8 kB / 466.4 MB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.02488, allocations: 1.531 kB / 466.4 MB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.02517, allocations: 12 kB / 466.4 MB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.02525, allocations: 23.94 kB / 466.5 MB, free: 4.027 MB / 442.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.0001954/0.02544, allocations: 116.1 kB / 466.6 MB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.02557, allocations: 11.94 kB / 466.6 MB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.02892, allocations: 1.976 MB / 468.6 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.02893, allocations: 8.547 kB / 468.6 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.02893, allocations: 4 kB / 468.6 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.02894, allocations: 3.984 kB / 468.6 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.03117, allocations: 1.859 MB / 470.4 MB, free: 116 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.03117, allocations: 3.938 kB / 470.4 MB, free: 112 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008332/0.03201, allocations: 207.7 kB / 470.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.03204, allocations: 43.62 kB / 470.7 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.03205, allocations: 4 kB / 470.7 MB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.03211, allocations: 11.98 kB / 470.7 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.03211, allocations: 8.031 kB / 470.7 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.03212, allocations: 4 kB / 470.7 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.03368, allocations: 1.644 MB / 472.3 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.0338, allocations: 16 kB / 472.4 MB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.03412, allocations: 24 kB / 472.4 MB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.03426, allocations: 57.58 kB / 472.4 MB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.03433, allocations: 19.98 kB / 472.5 MB, free: 14.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.421e-05/0.03434, allocations: 8.859 kB / 472.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03434, allocations: 0 / 472.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005341/0.03488, allocations: 259.7 kB / 472.7 MB, free: 13.79 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 (89): * Single equations (assignments): 89 * 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.0004253/0.0353, allocations: 240 kB / 473 MB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.03643, allocations: 1.239 MB / 474.2 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.03644, allocations: 4 kB / 474.2 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.03696, allocations: 0.5551 MB / 474.8 MB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.03723, allocations: 59.91 kB / 474.8 MB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.03964, allocations: 1.108 MB / 475.9 MB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.089e-05/0.03971, allocations: 108 kB / 476 MB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001641/0.04136, allocations: 0.7015 MB / 476.7 MB, free: 9.723 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.04236, allocations: 131.3 kB / 476.9 MB, free: 9.594 MB / 458.7 MB Notification: Performance of SimCode: time 2.765e-06/0.04236, allocations: 0 / 476.9 MB, free: 9.594 MB / 458.7 MB Notification: Performance of Templates: time 0.02732/0.06968, allocations: 25.93 MB / 0.491 GB, free: 15.81 MB / 490.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.75645705498755]