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.001404/0.001404, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001427/0.001427, allocations: 173 kB / 23.28 MB, free: 1.219 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.9422/0.9422, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7719/0.7719, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.202e-06/1.202e-06, allocations: 0.5469 kB / 0.5208 GB, free: 1.715 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.13e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00121/0.001231, allocations: 0.6321 MB / 0.5214 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002558, allocations: 1.336 MB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.002584, allocations: 0 / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.0026, allocations: 3.938 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 1.904e-05/0.002619, allocations: 0 / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.002964, allocations: 89.98 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.003011, allocations: 23.92 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.003042, allocations: 0 / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.003075, allocations: 11.98 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.003134, allocations: 15.97 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.003146, allocations: 5.719 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.003363, allocations: 103.8 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.003377, allocations: 15.91 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.003391, allocations: 4 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003515, allocations: 89.22 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003517, allocations: 0 / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003518, allocations: 0 / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003522, allocations: 4 kB / 0.5231 GB, free: 15.39 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.0002893/0.003811, allocations: 384.8 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.003843, allocations: 9.5 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.003867, allocations: 9.234 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.003929, allocations: 112.6 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.003937, allocations: 1.719 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.003954, allocations: 8.375 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.004028, allocations: 67.89 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004036, allocations: 8.172 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.004044, allocations: 8.953 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004049, allocations: 7.25 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.004083, allocations: 23.97 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.004183, allocations: 97.27 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.004258, allocations: 59.11 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.00428, allocations: 31.59 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.004432, allocations: 38.48 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.004454, allocations: 37.89 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.004455, allocations: 0.5312 kB / 0.524 GB, free: 14.39 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.009997/0.01445, allocations: 5.198 MB / 0.529 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.01447, allocations: 51.41 kB / 0.5291 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.01453, allocations: 153.9 kB / 0.5292 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.01458, allocations: 29.7 kB / 0.5293 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.01461, allocations: 126.9 kB / 0.5294 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.01469, allocations: 59.47 kB / 0.5294 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01484, allocations: 96.16 kB / 0.5295 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01494, allocations: 0.4923 MB / 0.53 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.01524, allocations: 396.8 kB / 0.5304 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.01552, allocations: 398.2 kB / 0.5308 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.01637, allocations: 0.9409 MB / 0.5317 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01637, allocations: 1.281 kB / 0.5317 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009649/0.01734, allocations: 0.9757 MB / 0.5326 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01736, allocations: 7.984 kB / 0.5327 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01736, allocations: 0.5 kB / 0.5327 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01737, allocations: 1.531 kB / 0.5327 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.01771, allocations: 91.95 kB / 0.5327 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01771, allocations: 7.938 kB / 0.5327 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.01789, allocations: 4 kB / 0.5328 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.01794, allocations: 37.31 kB / 0.5328 GB, free: 5.285 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.0001332/0.01807, allocations: 160.6 kB / 0.5329 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.01816, allocations: 15.89 kB / 0.533 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.01964, allocations: 1.215 MB / 0.5341 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01965, allocations: 8 kB / 0.5341 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01965, allocations: 0 / 0.5341 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01965, allocations: 3.984 kB / 0.5342 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.02119, allocations: 1.482 MB / 0.5356 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02119, allocations: 4 kB / 0.5356 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.02154, allocations: 111.9 kB / 0.5357 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.02154, allocations: 3.984 kB / 0.5357 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.02158, allocations: 28 kB / 0.5357 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.02159, allocations: 0 / 0.5357 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02159, allocations: 0 / 0.5357 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.02276, allocations: 1.142 MB / 0.5369 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.02278, allocations: 15.91 kB / 0.5369 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.02283, allocations: 8 kB / 0.5369 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.02305, allocations: 12 kB / 0.5369 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.02313, allocations: 43.95 kB / 0.5369 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.02317, allocations: 27.98 kB / 0.537 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.02321, allocations: 123.2 kB / 0.5371 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02321, allocations: 3.938 kB / 0.5371 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005472/0.02375, allocations: 183.6 kB / 0.5373 GB, free: 0.7188 MB / 0.4948 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.0004503/0.0242, allocations: 250.9 kB / 0.5375 GB, free: 476 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008761/0.02508, allocations: 0.7454 MB / 0.5382 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02508, allocations: 0 / 0.5382 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.02548, allocations: 355.6 kB / 0.5386 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.02577, allocations: 41.97 kB / 0.5386 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.02769, allocations: 0.7018 MB / 0.5393 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.02774, allocations: 77.34 kB / 0.5394 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.02858, allocations: 297.5 kB / 0.5396 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/0.02924, allocations: 166.2 kB / 0.5398 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.02924, allocations: 0 / 0.5398 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.01696/0.04619, allocations: 12.96 MB / 0.5525 GB, free: 1.172 MB / 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.8539004190824926]