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.0007341/0.0007341, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001786, allocations: 440 kB / 10.41 MB, free: 284 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.0009875/0.0009875, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.002047, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9805/0.9805, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08894/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.8211/0.8211, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2898/1.111, allocations: 49.13 MB / 448.6 MB, free: 5.918 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.012e-06/1.012e-06, allocations: 0 / 450 MB, free: 4.539 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/1.976e-05, allocations: 3 kB / 450 MB, free: 4.535 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001589/0.001609, allocations: 0.6688 MB / 450.7 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.003025, allocations: 1.358 MB / 452.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.003043, allocations: 0 / 452.1 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.69e-06/0.003049, allocations: 3.938 kB / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.003056, allocations: 0 / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.00331, allocations: 70.66 kB / 452.1 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.003905, allocations: 23.38 kB / 452.2 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.66e-05/0.003932, allocations: 3.984 kB / 452.2 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.003973, allocations: 17.62 kB / 452.2 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.004029, allocations: 14.27 kB / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.004039, allocations: 4 kB / 452.2 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.004289, allocations: 125.8 kB / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.004306, allocations: 4.766 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.004321, allocations: 5.859 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.004451, allocations: 73.89 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.004458, allocations: 0.6562 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004459, allocations: 0.5938 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.004467, allocations: 0 / 452.4 MB, free: 2.211 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.000281/0.004748, allocations: 261.6 kB / 452.7 MB, free: 1.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.004772, allocations: 14.97 kB / 452.7 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.004798, allocations: 12.92 kB / 452.7 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.225e-05/0.004861, allocations: 103.9 kB / 452.8 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.00487, allocations: 9.031 kB / 452.8 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004889, allocations: 5.922 kB / 452.8 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.004964, allocations: 79.86 kB / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.00497, allocations: 192 / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.004976, allocations: 1.281 kB / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004981, allocations: 3.938 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.005015, allocations: 16.86 kB / 452.9 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.139e-05/0.005096, allocations: 70.78 kB / 453 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.005176, allocations: 50.62 kB / 453 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.005198, allocations: 12.86 kB / 453 MB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.005359, allocations: 47.78 kB / 453.1 MB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.005385, allocations: 34.56 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.005386, allocations: 0 / 453.1 MB, free: 1.422 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.01853/0.02392, allocations: 8.578 MB / 461.7 MB, free: 8.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.02395, allocations: 56.38 kB / 461.7 MB, free: 8.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.02401, allocations: 100.2 kB / 461.8 MB, free: 8.801 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.02412, allocations: 29.7 kB / 461.9 MB, free: 8.766 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.02414, allocations: 81.92 kB / 461.9 MB, free: 8.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.02429, allocations: 59.47 kB / 462 MB, free: 8.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.02459, allocations: 62.08 kB / 462.1 MB, free: 8.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.02468, allocations: 325.6 kB / 462.4 MB, free: 8.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.02533, allocations: 0.6645 MB / 463.1 MB, free: 7.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.02597, allocations: 0.673 MB / 463.7 MB, free: 6.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.02737, allocations: 1.436 MB / 465.2 MB, free: 5.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.02737, allocations: 0 / 465.2 MB, free: 5.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00154/0.02891, allocations: 1.428 MB / 466.6 MB, free: 4.027 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.02893, allocations: 8.484 kB / 466.6 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02894, allocations: 0 / 466.6 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.02895, allocations: 6.469 kB / 466.6 MB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.02995, allocations: 131.7 kB / 466.7 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.02996, allocations: 0 / 466.7 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.03032, allocations: 12.98 kB / 466.7 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.03039, allocations: 15.95 kB / 466.8 MB, free: 3.859 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.0002066/0.0306, allocations: 117.8 kB / 466.9 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.03072, allocations: 12.56 kB / 466.9 MB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.03408, allocations: 1.978 MB / 468.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.03408, allocations: 8 kB / 468.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.03408, allocations: 4 kB / 468.9 MB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03409, allocations: 7.984 kB / 468.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.0363, allocations: 1.86 MB / 470.7 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.0363, allocations: 0 / 470.7 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.03712, allocations: 207.8 kB / 470.9 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.03715, allocations: 39.62 kB / 471 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.03716, allocations: 0 / 471 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.03723, allocations: 15.98 kB / 471 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.03723, allocations: 4 kB / 471 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.03723, allocations: 0 / 471 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.03876, allocations: 1.656 MB / 472.7 MB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.03886, allocations: 12 kB / 472.7 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.0392, allocations: 25.09 kB / 472.7 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.03937, allocations: 57.5 kB / 472.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.03944, allocations: 15.98 kB / 472.8 MB, free: 13.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.167e-05/0.03945, allocations: 4.859 kB / 472.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03945, allocations: 0 / 472.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.03993, allocations: 263.7 kB / 473 MB, free: 13.63 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.0004276/0.04036, allocations: 244.9 kB / 473.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.04139, allocations: 1.245 MB / 474.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.0414, allocations: 4 kB / 474.5 MB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.04196, allocations: 0.6039 MB / 475.1 MB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.04223, allocations: 63.91 kB / 475.2 MB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.04453, allocations: 1.108 MB / 476.3 MB, free: 10.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.88e-05/0.04458, allocations: 108 kB / 476.4 MB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001515/0.0461, allocations: 0.7015 MB / 477.1 MB, free: 9.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.04716, allocations: 131.3 kB / 477.2 MB, free: 9.375 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/0.04716, allocations: 0 / 477.2 MB, free: 9.375 MB / 458.7 MB Notification: Performance of Templates: time 0.02688/0.07404, allocations: 25.96 MB / 0.4914 GB, free: 15.58 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: 4.022462858818471]