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.0007212/0.0007212, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009392/0.00166, allocations: 440 kB / 10.41 MB, free: 284 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.001104/0.001104, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002554, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9969/0.9969, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09722/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8837/0.8837, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2827/1.166, allocations: 49.14 MB / 448.6 MB, free: 5.891 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 2.334e-06/2.334e-06, allocations: 0 / 450 MB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.543e-05, allocations: 7.578 kB / 450 MB, free: 4.504 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003295/0.003321, allocations: 1.062 MB / 451.1 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.005022, allocations: 1.064 MB / 452.2 MB, free: 2.406 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005161, allocations: 5.281 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.005272, allocations: 21.05 kB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.005354, allocations: 21.69 kB / 452.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.005664, allocations: 76.44 kB / 452.3 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.005916, allocations: 174.2 kB / 452.5 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.006085, allocations: 62.38 kB / 452.5 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.006318, allocations: 121.3 kB / 452.6 MB, free: 1.965 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.006429, allocations: 62.78 kB / 452.7 MB, free: 1.906 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.006466, allocations: 16 kB / 452.7 MB, free: 1.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.00655, allocations: 23.98 kB / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.006597, allocations: 27.88 kB / 452.8 MB, free: 1.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.006649, allocations: 39.88 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.006899, allocations: 103.6 kB / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.006913, allocations: 0 / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.006914, allocations: 0 / 452.9 MB, free: 1.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.006928, allocations: 5.062 kB / 452.9 MB, free: 1.695 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.0007447/0.007673, allocations: 412.6 kB / 453.3 MB, free: 1.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.007713, allocations: 8.031 kB / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.007896, allocations: 107.2 kB / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.008136, allocations: 151 kB / 453.6 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.008159, allocations: 17.56 kB / 453.6 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.008199, allocations: 20.38 kB / 453.6 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.008453, allocations: 153 kB / 453.8 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008464, allocations: 3.438 kB / 453.8 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.008488, allocations: 8.125 kB / 453.8 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.008498, allocations: 5.172 kB / 453.8 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.00858, allocations: 37.17 kB / 453.8 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.009311, allocations: 327.7 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.009562, allocations: 75.44 kB / 454.2 MB, free: 312 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.009621, allocations: 36.84 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.009647, allocations: 5.781 kB / 454.2 MB, free: 268 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.009809, allocations: 113 kB / 454.4 MB, free: 136 kB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/0.009812, allocations: 0.6094 kB / 454.4 MB, free: 136 kB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002566/0.01007, allocations: 109.6 kB / 454.5 MB, free: 20 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.01013, allocations: 60.22 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.01024, allocations: 145.3 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.01028, allocations: 34.34 kB / 454.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.01035, allocations: 116.4 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.01043, allocations: 72.36 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.0105, allocations: 41.67 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.01061, allocations: 326.8 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.0107, allocations: 24.61 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.01077, allocations: 46.19 kB / 455.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.01089, allocations: 72.53 kB / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.0109, allocations: 5.156 kB / 455.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001913/0.01109, allocations: 109.6 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.01111, allocations: 4 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01111, allocations: 1.062 kB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01113, allocations: 7.938 kB / 455.5 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.0113, allocations: 45.06 kB / 455.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.0113, allocations: 0 / 455.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.01138, allocations: 15.95 kB / 455.6 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01139, allocations: 5.875 kB / 455.6 MB, free: 14.86 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 0.0001095/0.0115, allocations: 125.8 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.01153, allocations: 12.5 kB / 455.7 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.01174, allocations: 117.6 kB / 455.8 MB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.01175, allocations: 7.938 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01175, allocations: 0 / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01176, allocations: 0.5312 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.01227, allocations: 371.5 kB / 456.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01227, allocations: 0.875 kB / 456.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.01243, allocations: 35.92 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.01247, allocations: 24.73 kB / 456.3 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.01247, allocations: 4 kB / 456.3 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.01249, allocations: 8.625 kB / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.0125, allocations: 4 kB / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.0125, allocations: 4.625 kB / 456.3 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01284, allocations: 261.1 kB / 456.5 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.01287, allocations: 12.61 kB / 456.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01297, allocations: 4.625 kB / 456.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.01304, allocations: 23.95 kB / 456.6 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01305, allocations: 4.625 kB / 456.6 MB, free: 13.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.0131, allocations: 41.14 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0131, allocations: 0 / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.01339, allocations: 35.89 kB / 456.6 MB, free: 13.7 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 0.0001638/0.01356, allocations: 94.12 kB / 456.7 MB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.01375, allocations: 95.06 kB / 456.8 MB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.01376, allocations: 0 / 456.8 MB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.01387, allocations: 62.16 kB / 456.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.01421, allocations: 122.4 kB / 457 MB, free: 13.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.01549, allocations: 378.4 kB / 457.4 MB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.458e-05/0.01555, allocations: 76.06 kB / 457.5 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01562, allocations: 13.48 kB / 457.5 MB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.01574, allocations: 76.73 kB / 457.5 MB, free: 12.72 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01574, allocations: 0 / 457.5 MB, free: 12.72 MB / 442.7 MB Notification: Performance of Templates: time 0.005302/0.02104, allocations: 1.879 MB / 459.4 MB, free: 10.97 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.7155284080654383]