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.001439/0.001439, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001243/0.001243, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.164/1.164, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.8331/0.8331, allocations: 154.8 MB / 415.1 MB, free: 0.5039 MB / 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.954e-06/1.954e-06, allocations: 0 / 0.5206 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3e-05, allocations: 5.156 kB / 0.5206 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001685/0.001715, allocations: 0.6297 MB / 0.5213 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.003577, allocations: 1.341 MB / 0.5226 GB, free: 280 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.00361, allocations: 0 / 0.5226 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.003631, allocations: 3.938 kB / 0.5226 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.003657, allocations: 5.531 kB / 0.5226 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.004097, allocations: 75.67 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.004173, allocations: 27.95 kB / 0.5227 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.00422, allocations: 0.9688 kB / 0.5227 GB, free: 168 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.004265, allocations: 19.92 kB / 0.5227 GB, free: 148 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.004344, allocations: 14.03 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004362, allocations: 4 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.004662, allocations: 107.8 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.004677, allocations: 7.984 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.004705, allocations: 11.92 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004912, allocations: 84.52 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004915, allocations: 0 / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004916, allocations: 0.7188 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.004922, allocations: 4 kB / 0.5229 GB, free: 15.92 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.0004548/0.005376, allocations: 380.6 kB / 0.5233 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.005426, allocations: 8.781 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.00548, allocations: 13.22 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.005579, allocations: 110.1 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005594, allocations: 8.359 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.005621, allocations: 4.375 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005769, allocations: 80.66 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.00578, allocations: 192 / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005792, allocations: 1.156 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.005803, allocations: 3.938 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.005866, allocations: 27.05 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.00602, allocations: 120.6 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00614, allocations: 59.05 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.006184, allocations: 27.67 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.006414, allocations: 35.97 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.006443, allocations: 37.83 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.006445, allocations: 0.9688 kB / 0.5238 GB, free: 14.89 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.01105/0.0175, allocations: 5.528 MB / 0.5292 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.01753, allocations: 59.41 kB / 0.5292 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.0176, allocations: 155.6 kB / 0.5294 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.01766, allocations: 33.7 kB / 0.5294 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.0177, allocations: 126.9 kB / 0.5295 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.01778, allocations: 66.34 kB / 0.5296 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.01794, allocations: 91.33 kB / 0.5297 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01806, allocations: 0.4923 MB / 0.5302 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.01847, allocations: 463.8 kB / 0.5306 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.01889, allocations: 466.2 kB / 0.5311 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.02003, allocations: 1.074 MB / 0.5321 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02003, allocations: 4 kB / 0.5321 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001201/0.02123, allocations: 1.109 MB / 0.5332 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.02125, allocations: 4.594 kB / 0.5332 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02126, allocations: 0 / 0.5332 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.02127, allocations: 5.797 kB / 0.5332 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.02165, allocations: 91.95 kB / 0.5333 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.02166, allocations: 0 / 0.5333 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.02186, allocations: 8 kB / 0.5333 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.02192, allocations: 39.95 kB / 0.5333 GB, free: 5.035 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.0001447/0.02206, allocations: 170.3 kB / 0.5335 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.02216, allocations: 11.89 kB / 0.5335 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.02415, allocations: 1.329 MB / 0.5348 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02415, allocations: 4 kB / 0.5348 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.02416, allocations: 4 kB / 0.5348 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.02417, allocations: 7.984 kB / 0.5348 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.02605, allocations: 1.635 MB / 0.5364 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02606, allocations: 4.031 kB / 0.5364 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.02642, allocations: 107.9 kB / 0.5365 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.02643, allocations: 4 kB / 0.5365 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.02647, allocations: 24 kB / 0.5366 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.02648, allocations: 0 / 0.5366 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02648, allocations: 4 kB / 0.5366 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.02793, allocations: 1.336 MB / 0.5379 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.02794, allocations: 11.91 kB / 0.5379 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.02801, allocations: 8 kB / 0.5379 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.02822, allocations: 8 kB / 0.5379 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.02832, allocations: 51.92 kB / 0.5379 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.02837, allocations: 35.98 kB / 0.538 GB, free: 292 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.0284, allocations: 119.2 kB / 0.5381 GB, free: 172 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0284, allocations: 0 / 0.5381 GB, free: 172 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004148/0.02882, allocations: 187.6 kB / 0.5383 GB, free: 15.98 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.0003821/0.0292, allocations: 242.7 kB / 0.5385 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008876/0.03009, allocations: 0.8743 MB / 0.5394 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.03009, allocations: 4 kB / 0.5394 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.03049, allocations: 424 kB / 0.5398 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.03072, allocations: 32 kB / 0.5398 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.03249, allocations: 0.7565 MB / 0.5405 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.03255, allocations: 81.33 kB / 0.5406 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006478/0.0332, allocations: 297.5 kB / 0.5409 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.03358, allocations: 96.47 kB / 0.541 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.03358, allocations: 0 / 0.541 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.01273/0.04631, allocations: 12.26 MB / 0.553 GB, free: 1 MB / 0.5105 GB " [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.993023370858282]