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.001427/0.001427, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001524/0.001524, allocations: 215.3 kB / 22.25 MB, free: 5.082 MB / 14.72 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.239/1.239, allocations: 203.8 MB / 0.5041 GB, free: 4.973 MB / 414.1 MB " [Timeout remaining time 178] 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.09 kB / 0.7188 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6177, allocations: 102 MB / 0.8184 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002598/0.6203, allocations: 1.066 MB / 0.8194 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.6219, allocations: 1.043 MB / 0.8204 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.622, allocations: 7.938 kB / 0.8205 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.6222, allocations: 19.73 kB / 0.8205 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.6223, allocations: 19.81 kB / 0.8205 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.6227, allocations: 75.84 kB / 0.8206 GB, free: 24 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.623, allocations: 172.2 kB / 0.8207 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.6231, allocations: 67.98 kB / 0.8208 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.6233, allocations: 75.7 kB / 0.8209 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.6234, allocations: 79.61 kB / 0.8209 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.6234, allocations: 16 kB / 0.821 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.6235, allocations: 24 kB / 0.821 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.6236, allocations: 35.84 kB / 0.821 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.6237, allocations: 83.58 kB / 0.8211 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.624, allocations: 189.8 kB / 0.8213 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.624, allocations: 0 / 0.8213 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.654e-06/0.624, allocations: 0 / 0.8213 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.624, allocations: 0 / 0.8213 GB, free: 15.3 MB / 0.6075 GB 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.0009582/0.6249, allocations: 434.2 kB / 0.8217 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.625, allocations: 13.47 kB / 0.8217 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.6251, allocations: 20.84 kB / 0.8217 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.6255, allocations: 162.8 kB / 0.8219 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.6255, allocations: 16.38 kB / 0.8219 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.6255, allocations: 12.38 kB / 0.8219 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.6259, allocations: 149.7 kB / 0.822 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6259, allocations: 0 / 0.822 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6259, allocations: 4 kB / 0.8221 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.626, allocations: 11.94 kB / 0.8221 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.6263, allocations: 115.7 kB / 0.8222 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.6275, allocations: 0.5147 MB / 0.8227 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.6279, allocations: 126.7 kB / 0.8228 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.6281, allocations: 84.8 kB / 0.8229 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.6281, allocations: 4 kB / 0.8229 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.6284, allocations: 119.3 kB / 0.823 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.6284, allocations: 0 / 0.823 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.0006143/0.629, allocations: 226.8 kB / 0.8232 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.629, allocations: 55.41 kB / 0.8233 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.6292, allocations: 157.1 kB / 0.8234 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.6292, allocations: 33.7 kB / 0.8234 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6293, allocations: 120.5 kB / 0.8236 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.6294, allocations: 67.47 kB / 0.8236 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.6294, allocations: 37.7 kB / 0.8237 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6296, allocations: 326.8 kB / 0.824 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.6298, allocations: 67.95 kB / 0.824 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.6301, allocations: 93.61 kB / 0.8241 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.6304, allocations: 141 kB / 0.8243 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6304, allocations: 0 / 0.8243 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005312/0.631, allocations: 221.4 kB / 0.8245 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.631, allocations: 4 kB / 0.8245 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.631, allocations: 0 / 0.8245 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.631, allocations: 4 kB / 0.8245 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.6312, allocations: 31.98 kB / 0.8245 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6312, allocations: 3.938 kB / 0.8245 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.6314, allocations: 31.86 kB / 0.8245 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6314, allocations: 4 kB / 0.8245 GB, free: 11.75 MB / 0.6075 GB 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.0001675/0.6316, allocations: 134.8 kB / 0.8247 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.6316, allocations: 19.89 kB / 0.8247 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005007/0.6321, allocations: 200.4 kB / 0.8249 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6321, allocations: 0 / 0.8249 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6321, allocations: 0 / 0.8249 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6321, allocations: 4 kB / 0.8249 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009733/0.6331, allocations: 0.553 MB / 0.8254 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6331, allocations: 0 / 0.8254 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.6333, allocations: 36.17 kB / 0.8255 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.6333, allocations: 11.88 kB / 0.8255 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.6333, allocations: 11.94 kB / 0.8255 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6333, allocations: 0 / 0.8255 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6333, allocations: 7.984 kB / 0.8255 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.6339, allocations: 376.4 kB / 0.8259 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.634, allocations: 23.78 kB / 0.8259 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.634, allocations: 8 kB / 0.8259 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.6341, allocations: 24.02 kB / 0.8259 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.6342, allocations: 19.97 kB / 0.8259 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.6342, allocations: 8 kB / 0.8259 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.877e-05/0.6343, allocations: 116.8 kB / 0.826 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6343, allocations: 0 / 0.826 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002901/0.6346, allocations: 35.89 kB / 0.8261 GB, free: 10.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.0001551/0.6348, allocations: 115.2 kB / 0.8262 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.6352, allocations: 151.8 kB / 0.8263 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6352, allocations: 0 / 0.8263 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.6354, allocations: 83.84 kB / 0.8264 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.6358, allocations: 30.28 kB / 0.8264 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.6365, allocations: 381.5 kB / 0.8268 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.6369, allocations: 0.7246 MB / 0.8275 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.637, allocations: 17.42 kB / 0.8275 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.637, allocations: 23.42 kB / 0.8276 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.637, allocations: 4 kB / 0.8276 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of Templates: time 0.00589/0.6429, allocations: 1.874 MB / 0.8294 GB, free: 6.605 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.778391933068633] Failed to read output from testmodel.py, exit status != 0: 0.6519466470927 0.667602254 0.040413241 Calling exit ...