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.000644/0.000644, allocations: 100.4 kB / 19.7 MB, free: 444 kB / 13.93 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.0007455/0.0007455, allocations: 211.1 kB / 22.99 MB, free: 2.98 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.8755/0.8755, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7228/0.7228, allocations: 203.8 MB / 0.5049 GB, free: 10.34 MB / 410.7 MB " [Timeout remaining time 179] 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.0009074/0.0009074, allocations: 63.28 kB / 0.7194 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4257, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001518/0.4272, allocations: 1.001 MB / 0.82 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008549/0.4281, allocations: 1.026 MB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.4282, allocations: 6.594 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.4283, allocations: 24.12 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.4284, allocations: 19.03 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.4286, allocations: 77.53 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.4288, allocations: 175.1 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.4289, allocations: 60.12 kB / 0.8214 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.429, allocations: 78.66 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.4291, allocations: 66.84 kB / 0.8215 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.4291, allocations: 17.41 kB / 0.8215 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.4292, allocations: 20.34 kB / 0.8216 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.4292, allocations: 41.47 kB / 0.8216 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.4292, allocations: 63 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.4295, allocations: 196.2 kB / 0.8219 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4295, allocations: 0 / 0.8219 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4295, allocations: 0 / 0.8219 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4295, allocations: 0.875 kB / 0.8219 GB, free: 15.5 MB / 0.6198 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.0005672/0.43, allocations: 436 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4301, allocations: 11.33 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.4301, allocations: 19.23 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.4304, allocations: 165.7 kB / 0.8225 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4304, allocations: 9.469 kB / 0.8225 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.4304, allocations: 16.8 kB / 0.8225 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4307, allocations: 181 kB / 0.8227 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4307, allocations: 4 kB / 0.8227 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4307, allocations: 6.188 kB / 0.8227 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4307, allocations: 4.656 kB / 0.8227 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.4309, allocations: 108.4 kB / 0.8228 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.4315, allocations: 449.9 kB / 0.8232 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.4318, allocations: 131.3 kB / 0.8233 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4319, allocations: 74.69 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4319, allocations: 2.281 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.4321, allocations: 151.1 kB / 0.8235 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.4321, allocations: 0 / 0.8235 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0003726/0.4325, allocations: 225.7 kB / 0.8238 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4325, allocations: 58.58 kB / 0.8238 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.4326, allocations: 144.8 kB / 0.824 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4326, allocations: 35.27 kB / 0.824 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.4327, allocations: 116 kB / 0.8241 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.4327, allocations: 64.91 kB / 0.8242 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4327, allocations: 43.78 kB / 0.8242 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.4328, allocations: 323.1 kB / 0.8245 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.433, allocations: 69.52 kB / 0.8246 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4331, allocations: 91.3 kB / 0.8247 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.4333, allocations: 146.3 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4333, allocations: 0 / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003022/0.4336, allocations: 215.1 kB / 0.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4336, allocations: 4.562 kB / 0.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4336, allocations: 1.75 kB / 0.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4336, allocations: 1.094 kB / 0.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4337, allocations: 41.62 kB / 0.8251 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4337, allocations: 1.406 kB / 0.8251 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.4338, allocations: 27.41 kB / 0.8251 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4338, allocations: 5.016 kB / 0.8251 GB, free: 13.25 MB / 0.6198 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 8.321e-05/0.4339, allocations: 137.3 kB / 0.8252 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.4339, allocations: 14 kB / 0.8252 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4342, allocations: 186 kB / 0.8254 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4342, allocations: 2.312 kB / 0.8254 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4342, allocations: 2.141 kB / 0.8254 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4342, allocations: 1.125 kB / 0.8254 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.4348, allocations: 0.5125 MB / 0.8259 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4348, allocations: 1.984 kB / 0.8259 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4349, allocations: 37.2 kB / 0.826 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4349, allocations: 3.375 kB / 0.826 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4349, allocations: 11 kB / 0.826 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4349, allocations: 3.266 kB / 0.826 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4349, allocations: 6.25 kB / 0.826 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.4353, allocations: 380.8 kB / 0.8263 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.4353, allocations: 21.75 kB / 0.8264 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4353, allocations: 6.062 kB / 0.8264 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.4354, allocations: 16.77 kB / 0.8264 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.4355, allocations: 22.75 kB / 0.8264 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.4355, allocations: 16.08 kB / 0.8264 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.4355, allocations: 109.3 kB / 0.8265 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4355, allocations: 0 / 0.8265 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001804/0.4357, allocations: 37.33 kB / 0.8266 GB, free: 12.24 MB / 0.6198 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 9.942e-05/0.4358, allocations: 106.5 kB / 0.8267 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.4361, allocations: 148 kB / 0.8268 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4361, allocations: 9.438 kB / 0.8268 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4362, allocations: 89.17 kB / 0.8269 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4364, allocations: 25.53 kB / 0.8269 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.437, allocations: 408.4 kB / 0.8273 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.437, allocations: 115.3 kB / 0.8274 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.4371, allocations: 23.06 kB / 0.8274 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.4371, allocations: 1.344 kB / 0.8274 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.002975/0.4401, allocations: 1.973 MB / 0.8294 GB, free: 11.46 MB / 0.6198 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.102883161045611] Failed to read output from testmodel.py, exit status != 0: 0.44573189364746213 0.45537394 0.024097413 Calling exit ...