Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.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.0007464/0.0007464, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.001692, 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.0007486/0.0007486, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.00169, 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09495/1.111, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.8002/0.8002, allocations: 155.3 MB / 399.2 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.2936/1.094, allocations: 49.12 MB / 448.4 MB, free: 6.004 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.258e-05, allocations: 6.25 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003601/0.003624, allocations: 1.983 MB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.005842, allocations: 1.281 MB / 453 MB, free: 1.473 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.005989, allocations: 3.938 kB / 453 MB, free: 1.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.006309, allocations: 103.1 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.006667, allocations: 135.1 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.007025, allocations: 139.4 kB / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.007355, allocations: 224.7 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.007509, allocations: 34.38 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007177/0.008227, allocations: 190.6 kB / 453.8 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.008388, allocations: 92.36 kB / 453.9 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.008419, allocations: 12 kB / 453.9 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.008578, allocations: 57.88 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.008658, allocations: 47.86 kB / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.008725, allocations: 43.81 kB / 454 MB, free: 460 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.009063, allocations: 187.3 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.009081, allocations: 0 / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009082, allocations: 1.406 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.009102, allocations: 0 / 454.2 MB, free: 272 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007804/0.009882, allocations: 489.2 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.009917, allocations: 12.61 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.009975, allocations: 20.92 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.01032, allocations: 208.8 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.01034, allocations: 9.5 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.01036, allocations: 12.56 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.01058, allocations: 102.6 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01059, allocations: 2.094 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.0106, allocations: 3.938 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.01061, allocations: 5.125 kB / 455 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.01068, allocations: 31.97 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.01115, allocations: 254.5 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.01133, allocations: 121.6 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.01137, allocations: 25.8 kB / 455.5 MB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.01138, allocations: 4.875 kB / 455.5 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.01156, allocations: 98.11 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.01156, allocations: 0.5 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000231/0.01179, allocations: 108.5 kB / 455.7 MB, free: 14.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.01193, allocations: 68.75 kB / 455.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.01216, allocations: 251.7 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.01219, allocations: 33.7 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.01226, allocations: 117.7 kB / 456.1 MB, free: 14.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.01231, allocations: 43.66 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.01239, allocations: 64.47 kB / 456.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.0125, allocations: 334.8 kB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.01255, allocations: 26.81 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.01263, allocations: 73.36 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01277, allocations: 115.4 kB / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01278, allocations: 0 / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002252/0.013, allocations: 147.9 kB / 456.9 MB, free: 13.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01302, allocations: 8 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01302, allocations: 0.5938 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01304, allocations: 4 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.01323, allocations: 57.34 kB / 457 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01324, allocations: 0 / 457 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.01333, allocations: 27.81 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.01335, allocations: 8.781 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001048/0.01346, allocations: 126 kB / 457.2 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.01349, allocations: 17.67 kB / 457.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01368, allocations: 113.2 kB / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01368, allocations: 0.8438 kB / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.01368, allocations: 0 / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01369, allocations: 4.656 kB / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.01422, allocations: 358.7 kB / 457.6 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01423, allocations: 3.984 kB / 457.6 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.0143, allocations: 12.62 kB / 457.7 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.01434, allocations: 35.8 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01434, allocations: 0.6562 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01436, allocations: 7.938 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01436, allocations: 4.891 kB / 457.7 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01436, allocations: 3.938 kB / 457.7 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.01455, allocations: 239.8 kB / 457.9 MB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.01458, allocations: 11.92 kB / 458 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.01468, allocations: 8 kB / 458 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.01473, allocations: 20.53 kB / 458 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01475, allocations: 12.59 kB / 458 MB, free: 12.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.01484, allocations: 78.75 kB / 458.1 MB, free: 12.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01484, allocations: 0.6562 kB / 458.1 MB, free: 12.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000297/0.01514, allocations: 55.92 kB / 458.1 MB, free: 12.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001958/0.0171, allocations: 0.5553 MB / 458.7 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.01729, allocations: 89.25 kB / 458.8 MB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.0173, allocations: 4 kB / 458.8 MB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.01737, allocations: 45.89 kB / 458.8 MB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.01769, allocations: 68.27 kB / 458.9 MB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.01858, allocations: 380.5 kB / 459.3 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.01865, allocations: 89.03 kB / 459.3 MB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.01874, allocations: 24.28 kB / 459.4 MB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.01888, allocations: 87.94 kB / 459.5 MB, free: 11.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01888, allocations: 1.438 kB / 459.5 MB, free: 11.11 MB / 442.7 MB Notification: Performance of Templates: time 0.00568/0.02456, allocations: 3.544 MB / 463 MB, free: 7.863 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.590980534441769]