Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02709/0.02709, allocations: 106.2 kB / 17.47 MB, free: 4.859 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.7 kB / 20.63 MB, free: 1.715 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.476/3.476, allocations: 207.6 MB / 231.2 MB, free: 3.254 MB / 174.1 MB [Timeout remaining time 86] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2857/0.2857, allocations: 38.63 MB / 321.9 MB, free: 9.699 MB / 254.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.1654/0.1654, allocations: 75.89 kB / 456.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.4129, allocations: 59.6 MB / 0.5036 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.03613/0.449, allocations: 3.56 MB / 0.5071 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.4618, allocations: 1.443 MB / 0.5085 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.4624, allocations: 33 kB / 0.5085 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.4625, allocations: 115.2 kB / 0.5086 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.4629, allocations: 169.5 kB / 0.5088 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.4639, allocations: 0.6107 MB / 0.5094 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009296/0.4648, allocations: 0.9519 MB / 0.5103 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.4659, allocations: 220.5 kB / 0.5105 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.4662, allocations: 371.3 kB / 0.5109 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.4667, allocations: 367.9 kB / 0.5112 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.883e-05/0.4668, allocations: 72.66 kB / 0.5113 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.4669, allocations: 72.88 kB / 0.5114 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.467, allocations: 169.4 kB / 0.5115 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4672, allocations: 371 kB / 0.5119 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.4682, allocations: 0.859 MB / 0.5127 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0003443/0.4686, allocations: 3.938 kB / 0.5127 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001709/0.4687, allocations: 4 kB / 0.5127 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003462/0.4691, allocations: 0 / 0.5127 GB, free: 10.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004471/0.4736, allocations: 1.239 MB / 0.5139 GB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.4736, allocations: 13.02 kB / 0.514 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.4738, allocations: 98.7 kB / 0.5141 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.4756, allocations: 0.6156 MB / 0.5147 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.4757, allocations: 37.69 kB / 0.5147 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.4758, allocations: 58.23 kB / 0.5147 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.4772, allocations: 0.6991 MB / 0.5154 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.4774, allocations: 1.375 kB / 0.5154 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.4774, allocations: 21.5 kB / 0.5155 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4774, allocations: 12.38 kB / 0.5155 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.4785, allocations: 0.5583 MB / 0.516 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.4811, allocations: 2.286 MB / 0.5182 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4826, allocations: 0.684 MB / 0.5189 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.4833, allocations: 316.3 kB / 0.5192 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.4833, allocations: 18.14 kB / 0.5192 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.4835, allocations: 47.19 kB / 0.5193 GB, free: 6.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.433e-06/0.4835, allocations: 0 / 0.5193 GB, free: 6.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004817/0.4883, allocations: 1.95 MB / 0.5212 GB, free: 4.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/0.4887, allocations: 190.3 kB / 0.5214 GB, free: 4.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.4892, allocations: 0.588 MB / 0.5219 GB, free: 4.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.4893, allocations: 37.14 kB / 0.522 GB, free: 4.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4894, allocations: 370.6 kB / 0.5223 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.4895, allocations: 183.8 kB / 0.5225 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4896, allocations: 103.6 kB / 0.5226 GB, free: 3.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.4896, allocations: 322.4 kB / 0.5229 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.4902, allocations: 305.4 kB / 0.5232 GB, free: 3.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.4909, allocations: 418 kB / 0.5236 GB, free: 2.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.492, allocations: 0.6512 MB / 0.5242 GB, free: 2.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.492, allocations: 0 / 0.5242 GB, free: 2.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001367/0.4934, allocations: 0.8027 MB / 0.525 GB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4934, allocations: 8 kB / 0.525 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4934, allocations: 4 kB / 0.525 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.4936, allocations: 7.938 kB / 0.525 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.4942, allocations: 192 kB / 0.5252 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4942, allocations: 4 kB / 0.5252 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.4947, allocations: 79.91 kB / 0.5253 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4947, allocations: 20 kB / 0.5253 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005155/0.4952, allocations: 365.1 kB / 0.5257 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004441/0.4956, allocations: 359.5 kB / 0.526 GB, free: 208 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.4968, allocations: 0.5359 MB / 0.5265 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.4968, allocations: 0 / 0.5265 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00129/0.4981, allocations: 0.6635 MB / 0.5272 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.4981, allocations: 8 kB / 0.5272 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.4981, allocations: 7.938 kB / 0.5272 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.4981, allocations: 8 kB / 0.5272 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.4987, allocations: 167.8 kB / 0.5274 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4987, allocations: 7.938 kB / 0.5274 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.4991, allocations: 63.84 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4991, allocations: 23.98 kB / 0.5275 GB, free: 14.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001699/0.4993, allocations: 208.1 kB / 0.5276 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4994, allocations: 75.53 kB / 0.5277 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.4996, allocations: 87.52 kB / 0.5278 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4996, allocations: 11.94 kB / 0.5278 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4996, allocations: 4 kB / 0.5278 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4996, allocations: 0 / 0.5278 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.513, allocations: 1.462 MB / 0.5292 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.513, allocations: 4 kB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.5137, allocations: 151.8 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5137, allocations: 4 kB / 0.5294 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5137, allocations: 11.98 kB / 0.5294 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5137, allocations: 4 kB / 0.5294 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5137, allocations: 3.984 kB / 0.5294 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.5164, allocations: 1.262 MB / 0.5307 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00838/0.5248, allocations: 192.5 kB / 0.5308 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.5249, allocations: 12 kB / 0.5308 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.5254, allocations: 83.91 kB / 0.5309 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/0.5258, allocations: 43.88 kB / 0.531 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.5258, allocations: 15.98 kB / 0.531 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00225/0.5281, allocations: 407.1 kB / 0.5314 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5281, allocations: 0 / 0.5314 GB, free: 10.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.5288, allocations: 180 kB / 0.5315 GB, free: 10.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.001212/0.53, allocations: 119.1 kB / 0.5317 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.5332, allocations: 0.9458 MB / 0.5326 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5332, allocations: 0 / 0.5326 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.534, allocations: 339.9 kB / 0.5329 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007028/0.541, allocations: 199.1 kB / 0.5331 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.5552, allocations: 1.541 MB / 0.5346 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.5574, allocations: 0.9219 MB / 0.5355 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.5578, allocations: 97.31 kB / 0.5356 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.5583, allocations: 59.41 kB / 0.5356 GB, free: 6.09 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5583, allocations: 0 / 0.5356 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Templates: time 0.9425/1.501, allocations: 8.935 MB / 0.5444 GB, free: 13.18 MB / 414.1 MB Thread is still alive. OMC died, but the thread is still running? This will end badly. The log-file of omc: Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.34f16cc196b2498a89e492338b28f9a2Killed Aborted the command. [Calling os._exit(0)]