Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001321/0.001321, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001484/0.001484, allocations: 166.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.48/1.48, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6187 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.85e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001537/0.001565, allocations: 0.6212 MB / 0.6193 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.003591, allocations: 1.311 MB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.003619, allocations: 0 / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.003639, allocations: 3.938 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.003659, allocations: 0 / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.004051, allocations: 79.61 kB / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.004114, allocations: 27.91 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.004159, allocations: 4 kB / 0.6206 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.004194, allocations: 11.98 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.004262, allocations: 19.97 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.004275, allocations: 0 / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.004574, allocations: 111.8 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.004588, allocations: 4 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.00461, allocations: 11.92 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004795, allocations: 91.69 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.0048, allocations: 4 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004801, allocations: 0 / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.004804, allocations: 0 / 0.6209 GB, free: 2.18 MB / 0.5294 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.000503/0.005307, allocations: 282.2 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.005354, allocations: 8.031 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.005399, allocations: 4.938 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.005534, allocations: 109.7 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.005552, allocations: 8.375 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.005579, allocations: 4.328 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.00574, allocations: 75.95 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.005752, allocations: 192 / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.005765, allocations: 4.375 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.005773, allocations: 7.938 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.005846, allocations: 27.91 kB / 0.6214 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.006023, allocations: 113.3 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.006163, allocations: 50.56 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.006214, allocations: 28.84 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.006464, allocations: 31.97 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.006495, allocations: 34.56 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.006496, allocations: 3.938 kB / 0.6217 GB, free: 1.285 MB / 0.5294 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.02123/0.02772, allocations: 4.176 MB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.02777, allocations: 51.41 kB / 0.6258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.02786, allocations: 97.84 kB / 0.6259 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.02794, allocations: 25.7 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.02798, allocations: 88.08 kB / 0.626 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.02809, allocations: 51.55 kB / 0.626 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.02837, allocations: 97.8 kB / 0.6261 GB, free: 12.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.02854, allocations: 318.8 kB / 0.6264 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.02913, allocations: 307.9 kB / 0.6267 GB, free: 11.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.02971, allocations: 307.9 kB / 0.627 GB, free: 11.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.03144, allocations: 0.7764 MB / 0.6278 GB, free: 10.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.03144, allocations: 0 / 0.6278 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001756/0.0332, allocations: 0.7982 MB / 0.6286 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.03322, allocations: 6.188 kB / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.03323, allocations: 0 / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.03325, allocations: 0 / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.03411, allocations: 99.88 kB / 0.6287 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.03412, allocations: 4 kB / 0.6287 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.03467, allocations: 8 kB / 0.6287 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.03476, allocations: 31.98 kB / 0.6287 GB, free: 9.934 MB / 0.545 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.0002219/0.03498, allocations: 118.8 kB / 0.6288 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.03508, allocations: 15.83 kB / 0.6288 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.03834, allocations: 1.399 MB / 0.6302 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.03834, allocations: 4 kB / 0.6302 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.03835, allocations: 3.938 kB / 0.6302 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.03835, allocations: 0 / 0.6302 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.04154, allocations: 1.679 MB / 0.6318 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.04155, allocations: 0 / 0.6318 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.04238, allocations: 107.9 kB / 0.6319 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.04239, allocations: 4 kB / 0.6319 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.04246, allocations: 27.98 kB / 0.632 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.04247, allocations: 4.031 kB / 0.632 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.04247, allocations: 4 kB / 0.632 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.0451, allocations: 1.474 MB / 0.6334 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.04512, allocations: 11.92 kB / 0.6334 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.04522, allocations: 11.94 kB / 0.6334 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.04576, allocations: 16 kB / 0.6335 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.04593, allocations: 39.95 kB / 0.6335 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/0.04601, allocations: 31.98 kB / 0.6335 GB, free: 4.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.04605, allocations: 75.28 kB / 0.6336 GB, free: 4.836 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.04605, allocations: 4.156 kB / 0.6336 GB, free: 4.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006208/0.04667, allocations: 187.6 kB / 0.6338 GB, free: 4.648 MB / 0.545 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.0006036/0.04728, allocations: 250.7 kB / 0.634 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.04863, allocations: 0.7145 MB / 0.6347 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04863, allocations: 0 / 0.6347 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.0493, allocations: 395.7 kB / 0.6351 GB, free: 3.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.04964, allocations: 18.92 kB / 0.6351 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.05323, allocations: 0.7928 MB / 0.6359 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.05333, allocations: 107.6 kB / 0.636 GB, free: 2.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009931/0.05432, allocations: 293.5 kB / 0.6363 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/0.05492, allocations: 92.47 kB / 0.6364 GB, free: 1.949 MB / 0.545 GB Notification: Performance of SimCode: time 5.72e-07/0.05492, allocations: 0 / 0.6364 GB, free: 1.949 MB / 0.545 GB Notification: Performance of Templates: time 0.01881/0.07372, allocations: 11.95 MB / 0.648 GB, free: 6.121 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.982209995388985] Failed to read output from testmodel.py, exit status != 0: 0.08311894536018372 0.097336619 0.089575843 Calling exit ...