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.00103/0.00103, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00109/0.00109, allocations: 169 kB / 23.02 MB, free: 1.551 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.9804/0.9804, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7475/0.7475, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 378.7 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 179] 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.543e-06/1.543e-06, allocations: 0 / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.351e-05, allocations: 4.703 kB / 0.5204 GB, free: 2.133 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001363/0.001396, allocations: 0.6335 MB / 0.521 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.003055, allocations: 1.342 MB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.003086, allocations: 4 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.00311, allocations: 3.938 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.568e-05/0.003136, allocations: 0.7812 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.003605, allocations: 80.75 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.003677, allocations: 27.91 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.003715, allocations: 1.031 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.003753, allocations: 15.98 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.003822, allocations: 11.97 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003842, allocations: 1.531 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.004168, allocations: 111.8 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.004186, allocations: 7.938 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.004211, allocations: 7.984 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004388, allocations: 88.8 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004391, allocations: 0 / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.004393, allocations: 0 / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.0044, allocations: 0.6875 kB / 0.5227 GB, free: 15.81 MB / 0.4948 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.0005403/0.00494, allocations: 385.3 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.004994, allocations: 8.031 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.005054, allocations: 13.23 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.005171, allocations: 113.4 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005187, allocations: 4.375 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.005219, allocations: 9.156 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.005369, allocations: 71.89 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.005384, allocations: 0.9062 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005398, allocations: 4.375 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.005409, allocations: 4.781 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.005472, allocations: 23.95 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.005649, allocations: 122.9 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.005764, allocations: 59.05 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.005796, allocations: 19.67 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.006009, allocations: 40.91 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.006034, allocations: 37.39 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.006035, allocations: 1.375 kB / 0.5235 GB, free: 14.79 MB / 0.4948 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.01267/0.0187, allocations: 5.551 MB / 0.529 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.01875, allocations: 59.41 kB / 0.529 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.01882, allocations: 149.9 kB / 0.5292 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.01889, allocations: 25.7 kB / 0.5292 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.01892, allocations: 134.9 kB / 0.5293 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.01903, allocations: 59.44 kB / 0.5294 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.01925, allocations: 103.3 kB / 0.5295 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.01938, allocations: 496.1 kB / 0.5299 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.01989, allocations: 464.9 kB / 0.5304 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.02041, allocations: 467.9 kB / 0.5308 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.02189, allocations: 1.068 MB / 0.5319 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.0219, allocations: 0.6562 kB / 0.5319 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001541/0.02344, allocations: 1.111 MB / 0.533 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.02346, allocations: 10.38 kB / 0.533 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.02346, allocations: 0 / 0.533 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.02348, allocations: 0 / 0.533 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.02401, allocations: 87.95 kB / 0.5331 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.02401, allocations: 3.984 kB / 0.5331 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.02428, allocations: 12 kB / 0.5331 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.02436, allocations: 35.92 kB / 0.5331 GB, free: 4.922 MB / 0.4948 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.0001723/0.02453, allocations: 157.8 kB / 0.5333 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.02465, allocations: 19.89 kB / 0.5333 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.02697, allocations: 1.329 MB / 0.5346 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.02698, allocations: 7.984 kB / 0.5346 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02699, allocations: 4 kB / 0.5346 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.02699, allocations: 3.938 kB / 0.5346 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.02929, allocations: 1.626 MB / 0.5362 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02929, allocations: 0 / 0.5362 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.02981, allocations: 107.9 kB / 0.5363 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.02981, allocations: 0 / 0.5363 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.02988, allocations: 32 kB / 0.5363 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.02988, allocations: 0 / 0.5363 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.02989, allocations: 3.984 kB / 0.5363 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.03175, allocations: 1.329 MB / 0.5376 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.03177, allocations: 15.91 kB / 0.5376 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.03185, allocations: 12 kB / 0.5376 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.03215, allocations: 23.98 kB / 0.5377 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.03228, allocations: 43.95 kB / 0.5377 GB, free: 220 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.03234, allocations: 24 kB / 0.5377 GB, free: 196 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.03238, allocations: 123.2 kB / 0.5378 GB, free: 72 kB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03238, allocations: 0 / 0.5378 GB, free: 72 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005624/0.03294, allocations: 195.7 kB / 0.538 GB, free: 15.88 MB / 0.5105 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.000475/0.03342, allocations: 246.7 kB / 0.5383 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.03453, allocations: 0.8722 MB / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03453, allocations: 96 / 0.5391 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.03505, allocations: 419.6 kB / 0.5395 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.03539, allocations: 36 kB / 0.5395 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.03762, allocations: 0.7682 MB / 0.5403 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.03768, allocations: 77.34 kB / 0.5404 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008264/0.0385, allocations: 289.5 kB / 0.5406 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.03899, allocations: 96.47 kB / 0.5407 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/0.039, allocations: 0 / 0.5407 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.01754/0.05654, allocations: 13.01 MB / 0.5534 GB, free: 144 kB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8674371880479157]