Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.000664/0.000664, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008628/0.001527, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007013/0.0007013, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000929/0.00163, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9848/0.9848, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08706/1.072, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7857/0.7857, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2969/1.083, allocations: 49.12 MB / 448.4 MB, free: 6.027 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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.427e-05, allocations: 5.781 kB / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002548/0.002572, allocations: 1.069 MB / 450.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.004123, allocations: 1.065 MB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.004214, allocations: 0 / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.407e-05/0.004288, allocations: 21.42 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.004339, allocations: 23.17 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.004515, allocations: 76.55 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.004672, allocations: 175.7 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004792, allocations: 65.73 kB / 452.3 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.004941, allocations: 125.8 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.005017, allocations: 56.42 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.005041, allocations: 16 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.005111, allocations: 21.66 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.005137, allocations: 23.94 kB / 452.5 MB, free: 2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.005172, allocations: 39.88 kB / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005339, allocations: 111.5 kB / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/0.005357, allocations: 2 kB / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005358, allocations: 0 / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.005374, allocations: 0 / 452.6 MB, free: 1.852 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005228/0.005897, allocations: 413.7 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.005924, allocations: 8.031 kB / 453.1 MB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.006062, allocations: 102 kB / 453.2 MB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.006227, allocations: 154 kB / 453.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.006247, allocations: 12.38 kB / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.00627, allocations: 17.03 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.006437, allocations: 155 kB / 453.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006446, allocations: 4.125 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006458, allocations: 12.12 kB / 453.5 MB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.006465, allocations: 4.797 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.006516, allocations: 29.17 kB / 453.5 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.007008, allocations: 329.2 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.007214, allocations: 76.03 kB / 453.9 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.007265, allocations: 42.66 kB / 454 MB, free: 436 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.007292, allocations: 7.906 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.007425, allocations: 115.1 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.007426, allocations: 4 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001932/0.007619, allocations: 108.2 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.007649, allocations: 59.34 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007754, allocations: 145.2 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.007777, allocations: 30.61 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.00783, allocations: 116.4 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.007878, allocations: 63.42 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.007936, allocations: 46.69 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.008029, allocations: 334.7 kB / 455 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.008099, allocations: 16.88 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.008154, allocations: 49.52 kB / 455 MB, free: 15.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.537e-05/0.00825, allocations: 72.91 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.008253, allocations: 3.938 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001479/0.008401, allocations: 106.5 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.008414, allocations: 6.406 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008419, allocations: 4 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.008429, allocations: 3.938 kB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.008568, allocations: 44.53 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008571, allocations: 1.312 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.008629, allocations: 19.94 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.008641, allocations: 8 kB / 455.3 MB, free: 15.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.329e-05/0.008715, allocations: 118.3 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.008738, allocations: 17.36 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.008897, allocations: 110.7 kB / 455.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008901, allocations: 3.938 kB / 455.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008903, allocations: 5.062 kB / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.008908, allocations: 3.984 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.009309, allocations: 361.8 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.009314, allocations: 4 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.009434, allocations: 41.34 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.009455, allocations: 23.83 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.009459, allocations: 5.594 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.009472, allocations: 8 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.009475, allocations: 0.7812 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009477, allocations: 4 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.009703, allocations: 270.5 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.009723, allocations: 8 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.009813, allocations: 8.844 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.009863, allocations: 23.95 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.009874, allocations: 8.656 kB / 456.3 MB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.009907, allocations: 28.77 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009907, allocations: 0.6562 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01013, allocations: 39.89 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 9.928e-05/0.01023, allocations: 94.38 kB / 456.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01037, allocations: 81.33 kB / 456.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01038, allocations: 0.625 kB / 456.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.01045, allocations: 57.95 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.01067, allocations: 47.66 kB / 456.7 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.0116, allocations: 373.6 kB / 457 MB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.01166, allocations: 73.3 kB / 457.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01172, allocations: 15.38 kB / 457.1 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.01182, allocations: 79.89 kB / 457.2 MB, free: 12.99 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01182, allocations: 1.969 kB / 457.2 MB, free: 12.99 MB / 442.7 MB Notification: Performance of Templates: time 0.004169/0.01599, allocations: 1.882 MB / 459.1 MB, free: 11.23 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.586351815611124]